启动Database Engine Tuning Advisor出现错误:
When you use Database Engine Tuning Advisor to analyze the performance effects of workloads in Microsoft SQL Server 2005, you may receive the following error message:
R6031- Attempt to initialize the CRT more than once. This indicates a bug in your application.
1.修改注册表
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
HKLM\Software\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers(这个路径也要检查)
HKLM\Software\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers(这个路径也要检查)
2.删除环境变量__COMPAT_LAYER
Also please check if an environment variable __COMPAT_LAYER is set?
"set __COMPAT_LAYER=" , basically disabled the compat layer and dta ran OK
相关链接:
microsoft
http://support.microsoft.com/Default.aspx?kbid=913395
浙公网安备 33010602011771号