Visual Studio Developer Center > Visual Studio Forums > Visual Studio Setup and Installation > Problem opening existing Project is VS2008 on Windows 7 RTM x64
Ask a questionAsk a question
 

AnswerProblem opening existing Project is VS2008 on Windows 7 RTM x64

  • Wednesday, November 04, 2009 1:15 PMdceanes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When I attempt to open a project in Visual Studio 2008 Professional on Windows 7 RTM x64 that was created on XP I get the following error in Visual Studio error:

    System.Runtime.InteropServices.ComException

    All updates to Windows 7 and Visual Studio 2008 are installed.

    Ideas anyone????

Answers

  • Wednesday, November 04, 2009 8:05 PMdceanes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Found the solution to the problem here.....

    On my XP machine I opened the Project and set it to use the Visual Studio Development Web Server instead of the local IIS.

    I then copied the project back to the Win 7 x64 machine and opened the project just fine.  All is well now!!!

    Best of luck...

    Dave

    • Marked As Answer bydceanes Wednesday, November 04, 2009 8:07 PM
    •  

All Replies

  • Wednesday, November 04, 2009 3:51 PMErTelis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Same Problem here ! up up up
    I thought I found the answer here: http://geekswithblogs.net/marocanu2001/archive/2008/05/20/annoying-visual-studio-2008-little-bug.aspx
    But after adding the IIS Compatibility Roles to my IIS, I still have the same problem.


    Update: it seems to be because it is a web application (C# in my case) and VS is trying to access directly the virtual directory declared in the solution

    Running Visual Studio as an administrator / elevated priviledges will give you more explicit error messages.

    For me I discovered that .NET2 wasnt properly installed and that a VirtualDir was also missing for the project to open.

    Hope this helps
  • Wednesday, November 04, 2009 8:05 PMdceanes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Found the solution to the problem here.....

    On my XP machine I opened the Project and set it to use the Visual Studio Development Web Server instead of the local IIS.

    I then copied the project back to the Win 7 x64 machine and opened the project just fine.  All is well now!!!

    Best of luck...

    Dave

    • Marked As Answer bydceanes Wednesday, November 04, 2009 8:07 PM
    •