Home
 Index > Visual Studio > Visual Studio 2008 System.Runtime.InteropServic...

Visual Studio:  Errors

Visual Studio 2008 System.Runtime.InteropServices.COMException

When opening a Web application solution in Visual Studio 2008, an error dialog pops up "System.Runtime.InteropServices.COMException" and the project does not load.

Added on 18 Aug 2008

Scenarios:

Scenario Summary:
After installing Norton Internet Security, Web projects that previously loaded successfully in Visual Studio 2008 fail to load.
Scenario Details:
After receiving and canceling out of the System.Runtime.InteropServices.COMException error dialog, the solution loads, but the Web project is unavailable.
Added on 18 Aug 2008

Solution Summary:
It seems that DevelopmentServerPort and IISUrl were changed in the process of installing Norton Internet Security. These values must be updated in the Project file.
Solution Details:
  1. Edit Project FileOnce the solution opens, right-click on the unavailable project and select Edit project_file_name.vbproj.
  2. Scroll to the bottom of the page, and delete the ProjectExtensions section.
  3. Save the page.
  4. Right-click again on the unavailable project, and select Reload Project.
  5. Your project should now be available and you should be able to see all your project files.

When you save your project, the ProjectExtensions section will be rewritten with the updated (correct) values needed to open your project in Visual Studio 2008.

Was this solution useful? Yes No Added on 18 Aug 2008
Rating: 

Solution Summary:
Open Visual Studio as an administrator.
Solution Details:

If for some reason the first suggestion above does not resolve your issue, you can try simply to open Visual Studio 2008 as an Administrator.

  1. Right-click on the shortcut to Visual Studio 2008
  2. Select Run as Administrator

Run as Administrator

 

Was this solution useful? Yes No Added on 18 Aug 2008
Rating: 

Copyright 2017 © E-Centric, Inc. | Terms of Use