How can I fix a dbwrap.exe error that prevents a SharePoint 2010 installation?
Every time I attempt to install SharePoint 2010 on my Windows 7 64-bit laptop I get the following error in the setup log:

'dbwrap.exe' failed with error code: -2068578304. Type: 8::CommandFailed.

The installation aborts.  I need more information.  How do I fix this problem?
January 23rd, 2010 12:56am

Hi,

Hi,
please refere to Jie's steps here http://blogs.msdn.com/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx
it will be a good refrence for you to installa SharePoint 2010 on Windows 7
be sure that you install the hotfix and do a restart after

also you need to read the following Microsoft article http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2010 4:16pm

You must restart computer, and try it again. (Dbwrap is hiding a console.)

April 28th, 2010 2:07pm

I had just encountered similiar issue:

I installed sharepoint in standalone mode in my develope machine. And i had upgraded the SQL Server express to SQL Server Developer version.

Now i cannot run repair install for SharePoint, i will get the same error.

dbwrap is something related to SQL Server Express installation.

I can find DBWrapLog file in %temp% folder, which contains the following line:

INF:0:Get value SINGLESERVER from reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole.

I changed the SINGLESERVER to APPLICATION, then the repair installation works.

 

  • Proposed as answer by MarkoJ Monday, March 26, 2012 8:50 AM
  • Marked as answer by Pratik VyasModerator Thursday, April 11, 2013 6:44 AM
Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2011 6:11am

thank you so much Yuming.

I get the same issue while installing Sharepoint on Win 7. I check out error logs and get to know it's SQL Server Express issue.

First I found this in DBWrapLog log:

INF:0:Cannot find sql express instance. Do fresh install.
INF:0:Try to install SQL Express.
INF:0:Entering function RunCommand
INF:0:Starting process C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\sqlexpr.exe with args  /q /HideConsole  /ACTION=install /pid=11111-00000-00000-00000-00000 /FEATURES=SQL,Tools /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /INSTANCENAME=SharePoint /INSTALLSQLDATADIR="C:\Program Files\Microsoft Office Servers\14.0\Data" and waiting 00:49:10 for it to stop
ERR:-2067919934:Leaving function RunCommand

Then I start my SQL Express instance and run Sharepoint setup to repair. However I got this error again in DBWrapLog:

INF:0:Entering function RunCommand
INF:0:Starting process C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\sqlexpr.exe with args  /q /HideConsole /ACTION=Repair /INSTANCENAME=SharePoint and waiting 00:49:10 for it to stop
ERR:-2068643839:Leaving function RunCommand
INF:0:Try to config SQL Express instance.
INF:0:Grant Exec Right for dbo.sp_add_job
INF:0:Data Source=.\SharePoint;Initial Catalog=msdb;Integrated Security=True;Pooling=False
WRN:0:Fail to config in the number 1 try, will sleep 10 seconds and try again. The exception is System.Data.SqlClient.SqlException: 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)

up to here, I get stuck.

Can I consult this: How do you know to change value from reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole. And what does this

July 6th, 2012 8:01am

Changing the registry entry from SINGLESERVER to APPLICATION fixed my issue with this.
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2012 3:28am

In my case the hard drive had compression turned on and the new Sharepoint folder was being compressed. I finally notice an SQL log file that said compression wasn't supported. Turned off compression for the drive and it then worked.
September 2nd, 2012 9:57pm

Changing the registery value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole from SINGLESERVER to APPLICATION solved my problem too.

I am installing Sharepoint foundation in Windows 7. The error I encounter is (%TEMP%\Microsoft SharePoint Foundation 2010 Setup 201211071147564A4.log):

Executing command path: 'C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\dbwrap.exe', args: 'timeout=2950 InstallMode=Repair'
Start C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\dbwrap.exe timeout=2950 InstallMode=Repair
Error: Command: 'C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\dbwrap.exe' failed with error code: 536870913. Type: 8::CommandFailed.

Free Windows Admin Tool Kit Click here and download it now
November 7th, 2012 9:47am

I run into a similar problem when trying to uninstall a sharepoint 2010 singleserver. changing the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole from SINGLESERVER to APPLICATION solved my problem too.

---------

Martin

April 4th, 2013 8:50am

Thankyou so much!!!  This work for me!!!! 

Ricardo Takei

Free Windows Admin Tool Kit Click here and download it now
September 24th, 2014 5:29pm

I had installed SQL 2008 R2 and was trying to install SharePoint 2010.

Original Install Error included "sharepoint server 2010 encountered an error required office components". This search led me down a rabbit hole. Looking into log files indicated that SQL Express could not install. It amazes me that this finally solved my issue.

I changed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServerRole from SINGLESERVER to APPLICATION

June 10th, 2015 11:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics