Quantcast
Viewing latest article 1
Browse Latest Browse All 3

EventID 3760


I was receiving a number of EventID 3760 in the application logs. Now I refer you back to an earlier blog post that I wrote explaining how to solve the EventID 7888 & EventID 3760 errors in your application logs.

Event ID 3760
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 07/03/2012 08:00:02
Event ID: 3760
Task Category: Database
Level: Critical
Keywords:
User: TESTLAB\farmadmin
Computer: SVRSP01.testlab.local
Description:
SQL Database ‘SP_PortalContent_DB’ on SQL Server instance ‘SHPSQL’ not found. Additional error information from SQL Server is included below.
Cannot open database “SP_PortalContent_DB” requested by the login. The login failed.
Login failed for user ‘TESTLAB\farmadmin’.

This was a similiar issue but in this particular case the Content database had gone from SQL and was no longer visible in the Manage content databases page of Central Admin. It was easy to assume that in fact the previous deletion operation had been successful. This however, was not the case.

Get a list of all Content Database

To obtain a list of all content database launch the SharePoint 2010 management shell and type the following:

Get-SPContentDatabase | Select Name, ID

This will return all your content database(s) and associated ID. See below:

As you can see in the image below, the offending database SP_PortalContent_DB is still listed and it is this 'Zombie' content database that is causing the EventID 3760.

Image may be NSFW.
Clik here to view.

Remove a Content Database using PowerShell.

To remove the offending content database launch the SharePoint 2010 management shell and type the following:

Remove-SPContentDatabase -Identity "8702d890-db14-40e9-b720-fe5fefee0134"
You will then be presented with two prompts which you should accept/confirm by typing: Y in both cases.

Image may be NSFW.
Clik here to view.




Viewing latest article 1
Browse Latest Browse All 3

Trending Articles