2012-01-31 199 views
0

我在Windows Server上安装SQL Server 2008时遇到问题。在安装过程中,会出现一条错误消息,指出“尝试执行未经授权的操作”,我唯一的选择是重试,显示相同的消息或取消。SQL Server 2008安装错误

我正在以计算机的管理员身份进行安装。当我点击取消时,'数据库引擎服务'和'全文本搜索'都失败了,'管理工具 - 完成'和'管理工具 - 基本'成功。

这里是在Details.txt问题:

2012-01-31 11:48:40 Slp: PerfCounter calling lodctr: 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini' 
2012-01-31 11:48:40 Slp: Prompting user if they want to retry this action due to the following failure: 
2012-01-31 11:48:40 Slp: ---------------------------------------- 
2012-01-31 11:48:40 Slp: The following is an exception stack listing the exceptions in outermost to innermost order 
2012-01-31 11:48:40 Slp: Inner exceptions are being indented 
2012-01-31 11:48:40 Slp: 
2012-01-31 11:48:40 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException 
2012-01-31 11:48:40 Slp:  Message: 
2012-01-31 11:48:40 Slp:   Attempted to perform an unauthorized operation. 
2012-01-31 11:48:40 Slp:  Data: 
2012-01-31 11:48:40 Slp:  WatsonData = [email protected]@[email protected] 
2012-01-31 11:48:40 Slp:  DisableRetry = true 
2012-01-31 11:48:40 Slp:  Inner exception type: System.UnauthorizedAccessException 
2012-01-31 11:48:40 Slp:   Message: 
2012-01-31 11:48:40 Slp:     Attempted to perform an unauthorized operation. 
2012-01-31 11:48:40 Slp:   Stack: 
2012-01-31 11:48:40 Slp:     at Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.LoadPerformanceCounter(String symbolInstallPath, String counterPrefixServiceName) 
2012-01-31 11:48:40 Slp:     at Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.RegisterPerformanceCounterCore(String libraryFileName, String openFunction, String collectionFunction, String closeFunction, String symbolInstallPath, String counterPrefixServiceName) 
2012-01-31 11:48:40 Slp:     at Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.RegisterPerformanceCounter(String libraryFileName, String openFunction, String collectionFunction, String closeFunction, String symbolInstallPath, String counterPrefixServiceName) 
2012-01-31 11:48:40 Slp: ---------------------------------------- 
2012-01-31 11:48:42 Slp: User has chosen to retry this action 
2012-01-31 11:48:42 Slp: PerfCounter service name: MSSQL$FTLIVE 
2012-01-31 11:48:42 Slp: PerfCounter original INI template file: D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\sqlctr.ini 
2012-01-31 11:48:42 Slp: PerfCounter temporary INI file that will be registered: D:\Cpompany\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini 
2012-01-31 11:48:42 Slp: PerfCounter Library file name: perf-MSSQL$FTLIVE-sqlctr10.0.1600.22.dll 
2012-01-31 11:48:42 Slp: PerfCounter Open function: OpenSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter Collect function: CollectSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter Close function: CloseSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter symbol file install path: D:\Company\MSSQL10.FTLIVE\MSSQL\Binn 
2012-01-31 11:48:42 Slp: PerfCounter counter test/help prefix: MSSQL$FTLIVE 
2012-01-31 11:48:42 Slp: PerfCounter unregister first before registration 
2012-01-31 11:48:42 Slp: PerfCounters will be unregistered for service name: MSSQL$FTLIVE 
2012-01-31 11:48:42 Slp: PerfCounter temporary INI file that will be removed: D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini 
2012-01-31 11:48:42 Slp: PerfCounter calling unlodctr: 'MSSQL$FTLIVE' 
2012-01-31 11:48:42 Slp: PerfCounter delete the temporary INI file: 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini' 
2012-01-31 11:48:42 Slp: PerfCounter deleting registry key: HKLM\System\CurrentControlSet\Services\MSSQL$FTLIVE\Performance 
2012-01-31 11:48:42 Slp: PerfCounter writing to registry key: HKLM\System\CurrentControlSet\Services\MSSQL$FTLIVE 
2012-01-31 11:48:42 Slp: PerfCounter creating registry key: HKLM\System\CurrentControlSet\Services\MSSQL$FTLIVE\Performance 
2012-01-31 11:48:42 Slp: PerfCounter creating value: Library = perf-MSSQL$FTLIVE-sqlctr10.0.1600.22.dll 
2012-01-31 11:48:42 Slp: PerfCounter creating value: Open = OpenSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter creating value: Collect = CollectSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter creating value: Close = CloseSQLPerformanceData 
2012-01-31 11:48:42 Slp: PerfCounter munging INI tempate: 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\sqlctr.ini' -> 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini' 
2012-01-31 11:48:42 Slp: Sco: Attempting to replace string in file, source file 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\sqlctr.ini', output file 'D:\Company\MSSQL10.FTLIVE\MSSQL\Binn\perf-MSSQL$FTLIVEsqlctr.ini' 

这是错误:

http://social.microsoft.com/Forums/getfile/61073/

如果有人可以帮助我解决这个问题,那将是巨大的。我花了整整一天的时间寻找如何解决这个问题,但没有运气。

+0

此线程有一些建议:http:// social。 msdn.microsoft.com/Forums/en/sqlsetupandupgrade/thread/61d56f64-2575-4a58-9503-84579476afaf – tawman 2012-02-01 02:04:59

回答

2

我想补充的是该解决方案的工作:

我暂时搬到perfc009.datperfh009.dat到临时文件夹,点击重试和安装成功。可能这两个文件已损坏......您还可以尝试从DriveLetter:\ i386 \中将这些文件从Windows Server安装CD复制到%Systemroot%\ System32 \