董晓涛(David Dong)

博客园 首页 新随笔 联系 订阅 管理

You may receive the following error message after installing SQL Server 2005:

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

To work around this problem, do the following to manually remove the old policy files, and then run SQL Server setup again.

CAUTION: These steps involve deleting policy files. Before proceeding, back up the Policies folder so that you can restore it if any files are incorrectly deleted.

1.       Open a command prompt window (on the Start menu, click Run, and then type CMD), and then type this command:

Cd %SYSTEMROOT%\WinSXS\Policies

You should now be at a prompt that looks like something like this:

C:\WINDOWS\WinSxS\Policies>

2.       Delete any file that contains "vc80" as part of its filename. Or, type the following command, which will remove the files that are causing the problem:

For /D %i in (*vc80*) Do rd /s /q %i

After deleting the files, you should be at the command prompt shown in step 1 and you should not have received any error messages. If you receive an error message, restore the contents of the Policies folder from your backup, and try again.

3.       Run SQL Server February 2005 setup again.
posted on 2005-03-25 10:40  董晓涛  阅读(362)  评论(0编辑  收藏  举报