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

Posted on 2011-10-03
Last Modified: 2012-05-12
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?  
Question by:MisterFalcon

    Expert Comment


    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)


    Accepted Solution

    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:

    Author Closing Comment

    Instructions in separate thread fixed my issue.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
    The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now