locked
Unable to read project file. Configured to use IIS. RRS feed

  • Question

  • User217122017 posted

    Converted a remote solution (resides on development server on intranet) from VS2003 to VS2005. Attempted to open solution from local client using VS2005 SP1 running on Vista. When I attempt to open the solution using VS2005, I get "Unable to read the project file 'proj1.vbproj.' The Web Application Project proj1 is configured to use IIS. Could not find the server 'http://remoteservername' on the local machine.

    Belong to administrators group on local client. Ran VS2005 as administrator.

    Went into Turn Windows features on and off in control panel on local Vista client and checked all IIS 6 compatability checkboxes as outlined in http://blogs.msdn.com/shahpiyush/archive/2007/06/01/3028325.aspx also, verified that ASP.net box is checked.

    Don't know what I'm doing wrong. Any guidance appreciated.........

    Wednesday, February 11, 2009 12:52 PM

Answers

  • User217122017 posted

    [:D]

    The problem I outlined in my previous reply was corrected by uninstalling and reinstalling Visual Studio 2005 and the associated service pack.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 12, 2009 6:14 PM

All replies

  • User-206222649 posted

    Add the remote machine to your windows host file with teh IP

    Wednesday, February 11, 2009 1:13 PM
  • User217122017 posted

    Thanks for the quick reply. It turns out that we had opened the solution on another Vista system, clicked View > Property Pages > Web and clicked the IIS Web Server button. Clicking "Use Visual Studio Development Server" allowed me to at least open the solution on my Vista client.

    The reason we did all this is because when "Use Visual Studio Development Server" is clicked and I open the solution using the browser, VS2005 attempts to open server "localhost:nnnnn" instead of the NetBios server name. This ultimately leads to a security policy server error. We find that when we open the solution from IE using the full NetBios server name (e.g., http://DevServer/ProjectShare), however, we don't get the security policy error.

    I'm attempting to click the "Use IIS Web Server" button on this web tab and enter something like http://DevServer/ProjectShare in the text box labeled Project URL believing that attempting to open the solution using the NetBios name will get around the security policy error. When I do this and try to open the solution in the browser, however, I get "Could not find the server http://DevServer on the local machine".

    Ideas?

    Wednesday, February 11, 2009 1:36 PM
  • User217122017 posted

    [:D]

    The problem I outlined in my previous reply was corrected by uninstalling and reinstalling Visual Studio 2005 and the associated service pack.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 12, 2009 6:14 PM
  • User-1829560816 posted

    You can also edit the .csproj with notepad and change this line :

     

    <WebProjectProperties>
              <UseIIS>True</UseIIS> 

     

    To :

    <WebProjectProperties>
              <UseIIS>False</UseIIS> 

     

    Monday, October 19, 2009 7:46 AM
  • User1220120202 posted

    this works for me :)

    Tuesday, October 20, 2009 12:58 AM