'dbwrap.exe' failed with error code: -2068578304. Type: 8::CommandFailed.
The installation aborts. I need more information. How do I fix this problem?
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
You must restart computer, and try it again. (Dbwrap is hiding a console.)
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
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
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.
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
- Marked as answer by Pratik VyasModerator Thursday, April 11, 2013 6:44 AM
Thankyou so much!!! This work for me!!!!
Ricardo Takei
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