Results 1 to 4 of 4

Thread: Unable to open project in Visual Studio

  1. #1
    Join Date
    Jan 2009
    Posts
    46

    Unable to open project in Visual Studio

    hi,
    I've created a fresh Silverlight 2 project and solution with VS2008 9.0.21022.8 and 3.5 SP1 Framework The project doesn't opens in Visual Studio I am getting this error :Unable to get the project file from the web server.Unable to open web project '<My Prj Name>'.The file path '<Path of my virtual dir>' does not correspond to the URL 'http://localhost/<my prj Name'.
    Any recommendations and suggestions are appreciated. Thanks in advance for your help!!!

  2. #2
    Join Date
    May 2008
    Posts
    4,345

    Re: Unable to open project in Visual Studio

    hi,
    There is a file named .vbproj.webinfo. This tells the IDE where to open the project file from. I've had to edit this file whenever I've moved or renamed a ASP.NET profile folder.I found the only workaround was to do the following:
    * Delete the old solution.
    * Right click the project file in IIS and open it (this will create a new solution in VStudio).
    * Add any other project files to this new solutiuon.

  3. #3
    Join Date
    May 2008
    Posts
    4,831

    Re: Unable to open project in Visual Studio

    hi,
    easiest is to create your virtual directory in IIS first with the name that you want. This way you can place the project files where ever you want. then in VS create a new project and name it the same as your virtual directory and then VS will correctly map to it.

  4. #4
    Join Date
    Apr 2008
    Posts
    4,088

    Re: Unable to open project in Visual Studio

    I've created a fresh Silverlight 2 project and solution with VS2008 9.0.21022.8 and 3.5 SP1 Framework The project doesn't opens in Visual Studio I am getting this error :Unable to get the project file from the web server.Unable to open web project '<My Prj Name>'.The file path '<Path of my virtual dir>' does not correspond to the URL 'http://localhost/<my prj Name'.
    Find the “VSWebCache\” folder under your Documents and Settings folder and delete it and try it again.or it may be caused by the excluded files.
    remove them or inlude them to the related project

Similar Threads

  1. Programming in Visual Studio 2005 for Microsoft Project
    By mannuraama in forum Microsoft Project
    Replies: 7
    Last Post: 29-06-2011, 09:02 PM
  2. Replies: 2
    Last Post: 16-02-2011, 02:49 PM
  3. Difference between Visual studio 2005 and Visual studio 2008
    By RohanS in forum Software Development
    Replies: 3
    Last Post: 12-06-2009, 10:48 AM
  4. Unable to install Visual Studio 2008
    By Dorota in forum Windows Software
    Replies: 3
    Last Post: 20-05-2009, 01:38 PM
  5. Problem opening a ASP.Net project in Visual Studio 2005
    By Amber in forum Software Development
    Replies: 3
    Last Post: 11-02-2009, 11:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,188,708.25937 seconds with 17 queries