Installing Sharepoint on Win7 with DBWrap errors

这几天装sharepoint一直失败。各种问题。刚才在MSDN找到个解决办法。记录如下

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.

 

 

 

 

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 mean?


转载于:https://www.cnblogs.com/LeonCao/archive/2012/07/06/2579634.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值