Tuesday, 27 March 2012

SharePoint Documents open as Read Only

SharePoint Documents open as Read Only

I had this issue when opening a document it opens that in read only mode.  When editing the document got another error “ An internal error has occurred unable to contact the server. Please contact your system administrator”

Launched ULS viewer that didn’t help as I didn’t see any correlation id error for this
Tried various things, uninstalled WebDAV by following this Microsoft article but that didn’t work:

Tried enabling versioning for the document library got this error:

List does not exist. The page you selected contains a list that does not exist.  It may have been deleted by another user.
Did a restore of web.config backup to a working condition one didn’t work

Performed all the steps listed here:
http://support.microsoft.com/kb/287402

The issue happened in the test environment and had good backups as a precaution.
Resolution for me was:

Create a new web app and a test site collection with a new content db
Everything was okay there
Detached the Content Databases from primary web app
Detached the new Content Database from the new web app
Attached all the Content Databases of primary web app into the new web app
Refreshed the configuration DB using the power shell command
Finally changed alternate access mapping
Redeployed the solution package

IISRESET

Deleted the old primary web app later
This resolved the issue though I didn’t find a silver bullet step to resolve the issue had to rely on the traditional classic approach but in your case the links may resolve the issue.

No comments:

Post a Comment