Resolving a HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Error with a SharePoint 2010 Web Application

This error stopped me in my tracks for a couple of hours, while just editing IIS bindings and Alternate Access Mappings my site stopped responding entirely.

Instead of displaying a lovely site, my browser just displayed a blank error message.   Turning off Friendly Error messages I found the following error message displayed :

HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Date: Tue, 10 Aug 2010 03:19:45 GMT Connection: close

Unfortunately this error is not as helpful as you would think.  The only time I’ve seen similar errors with SharePoint were with 404 errors, usually because a Web Application existed, but a Site Collection did not.

I also noticed quite a few of these errors in the event log :

Unknown SQL Exception -1 occurred. Additional error information from SQL Server is included below.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified)

Again this was not helpful, as I had other Web Applications on the same servers, which had no problem connecting at all!

Out of some desperation I decided to try detaching and reattaching the content database for the Web Application, and Voila!  The site came back online.   I do not have any idea why this was actually happening, however I’m putting it up here in case someone else comes across it.


15 Responses to Resolving a HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Error with a SharePoint 2010 Web Application

  1. Phil says:

    Ran into this as well; worked for me too. Thx.

  2. Pingback: 2010 in review « Mark Rhodes

  3. Ashraf says:

    strange problem.i have detach and attach, provided authentication both windows and anonymous but its not working.
    FYI, i am trying to access it remotely as a domain user. Any idea will be helpful. Thanks

    Ashraf Hossain,

  4. Lim Eng Lian says:

    This saved my day! Thanks!

  5. Deepak Artal says:

    Thank you Mark

    This helped me a lot.

  6. Joe says:

    Was hoping this would save my day, but no avail. After i reattached the content database, i get an unexpected error when trying to browse to any sites. Please advise

  7. Amer Jamaeen says:

    If your application has’t default site collection this error will appeare

  8. Bharath says:

    Thanks a lot. This stopped words from my client. 🙂

  9. Adam says:

    Great work, helped me out too!

  10. Andro says:

    I cannot view my mgs due to server not found or error

  11. Shane O'Hanlon says:

    Helped me out and stopped my tearing my hair out….thanks!!

  12. venkat says:

    Thanks helped a lot and saved my day..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: