且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

服务器资源管理器不可用(VS2008Pro)

更新时间:2023-08-20 09:38:28

在互联网上来回浏览之后,遇到不同答案的批次,我终于设法让这个工作得到了解。这是我的解决方案:


  1. 关闭所有打开的Visual Studio实例。


  2. 通过导航到开始\所有程序\配件,右键单击命令提示并选择 ,在管理员上下文中打开命令提示符以管理员身份运行。


  3. 导航到VS2008的安装路径 - 在我的情况下(Vista x64上的默认)是** C: \\程序文件(x86)\Microsoft Visual Studio 2008 9.0\Common7\IDE **


  4. 运行命令 devenv / setup 。需要一点时间,但要耐心。


  5. 启动Visual Studio。


按照以下步骤,设置将重置为默认设置,因此您必须重新配置所有启动选项,文本编辑器的字体等。这可以通过运行 devenv / resetskippkgs 来帮助,但是它不在我的机器上。


I recently had some problems with my VS 2008, and was recommended to reinstall. To make sure that the reinstall would solve my problems, i manually uninstalled everything that could have to do with VS and SQL Server (I had the 2008 Express edition installed).

Now when I reinstall SQL Server and Visual Studio, the Server Explorer in VS is dead. When I click the menu option "View\Server Explorer", I get an error message in the Output window reading:

The Visual Studio Explorers and Designers Package ({8D8529D3-625D-4496-8354-3DAD630ECC1B}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.

I run the suggested command, but when I try again I get the exact same error message.

How do I solve this? As I work with the Entity Framework, it is crucial that VS can connect to my database... Any help is very much appreciated!

After looking back and forth over the internet, coming across a lot of different answers, i finally managed to get this working. This was my solution:

  1. Close all open instances of Visual Studio.

  2. Open the Command Prompt in an Administrator context by navigating to Start\All Programs\Accessories, right-clicking Command Prompt and choosing Run as Administrator.

  3. Navigate to the install path of VS2008 - in my case (default on Vista x64) it was **C:\Program Files (x86)\Microsoft Visual Studio 2008 9.0\Common7\IDE**

  4. Run the command devenv /setup. It takes a little while, but be patient.

  5. Start Visual Studio.

After following these steps, the setup is reset to default, so you'll have to reconfigure all startup options, fonts for the text editors etc. This could possibly be helped by running devenv /resetskippkgs instead, however it did not on my machine.