Al realizar un restore de una base de datos de contenido nos encontramos con el siguiente error en el Event Viewer:
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Database
Event ID: 3759
Date: 17/11/2009
Time: 10:33:55
User: N/A
Computer: XXXXXXXXXX
Description:
Database ‘WSS_Content_XXXXXXXXXX’ on SQL Server instance ‘XXXXXXXXXX’ is not empty and does not match current database schema.
La solución la encontramos en http://support.microsoft.com/kb/888041/en-us donde dice:
“Note If you configured permissions for the database with the NT Authority\Network Service account, you have to add the Network Service account to the System Administrators role in SQL Server before you can follow this step. You cannot make the Network Service account the database owner (dbo) of the database. You have to add the Network Service account to the System Administrators role before you can add the database to the virtual server. After you add the database to the virtual server, remove the Network Service account from the System Administrators role in SQL Server.”