Sharepoint site down: "Operation is not valid due to the current state of the object."

When I got to the office this morning, all of our users were receiving an error when they attempted to load the Sharepoint 3.0 intranet site.  No updates or changes were made on the web server over the weekend.  This is the error they receive:

Operation is not valid due to the current state of the object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Operation is not valid due to the current state of the object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:

[InvalidOperationException: Operation is not valid due to the current state of the object.]
   Microsoft.SharePoint.Administration.SPContentDatabase.ValidateDatabaseSchemaCompatibility() +689
   Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +59
   Microsoft.SharePoint.SPWeb.InitializeSPRequest() +290
   Microsoft.SharePoint.SPWeb.EnsureSPRequest() +58
   Microsoft.SharePoint.SPWeb.get_Request() +54
   Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +399
   Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +31
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +385
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76

Any ideas on what might have happened here?  
MisterFalconAsked:
Who is Participating?
 
MisterFalconAuthor Commented:
You were right.  An update was done without my knowledge, and the event log showed it failed.  I used the second post from the bottom on this thread and it worked:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_22922852.html?sfQueryTermInfo=1+10+30+access+databas+intern+miss+sharepoint+signatur+window#a24363969
0
 
Birger1000Commented:
hey

it the entire farm down or is just one site? Can you access the CA  and check all servers are running the same version of Sharepoint?

It sounds like one of the servers in the farm has been updated, so the server has a different version than the server running the CA.(check on the CA site http://site/_admin/FarmServers.aspx)



/Birger
0
 
MisterFalconAuthor Commented:
Instructions in separate thread fixed my issue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.