Yesterday we found an interesting stsadm command issue while resolving "Sharepoint 2007 site (HTTP 403 Forbidden error)" error on our machine.
Problem Statement:
We have started getting 403 forbidden error on our moss site. This site was working perfectly since months and no changes have been done on site since last month.
As a result all the sites within this application pool (ABC.com, stopped working.
We tried digging into the IIS logs/moss logs, but have not found anything as if now.
Interestingly web.config on this site got modified automatically it was missing moss sections like "BlobCache", i restored the previous version of file with all the sections, but to no avail.
Then we thought of possibility of some other service pack which hosting team might hv deployed on server,but strangely aour other application deployed on same server within different application pool XYZ.com is working perfectly.
Issue:
After doing lots of research we discovered an interesting finding.
One of the admin was running stsadm command for uninstalling one of the features on the site.
Somehow before completing the command, enter key got pressed and unfinished command got executed, which did some stuff within content database.
As a result above mentioned error came up.
I tried exploring documentation of MS and over the net to find out of the possible impact, but couldn't find one.
As a result i went ahead and executed this command "-o uninstall" on 1 of our dev machines.
Interestingly all the sites/webapplications hosted on <80> virtual directory stopped working.
When i tried to locate the files (web.config,dll's etc) in this virtual directory i could not find one.
That means this command deleted all virtual directories hosted on port 80 and corresponding databases.
So please execute this stsadm command with utmost care.
Wednesday, November 24, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment