Reputation: 23931
I am trying to get a visual studio solution (written by someone else) working on my machine. When I try to open the solution, I get two error messages, shown in the picture below. I don't know very much about IIS so I am at a loss to debug these. What should I do? Or where should i start reading?
Upvotes: 6
Views: 15253
Reputation: 21
This is probably because you have mapped project from TFS with a different version of visual studio.
Solution: 1. remove mappings from the local folders 2. Create new mapping and retrieve files to a different location 3. Open the solution from this new location
Upvotes: 2
Reputation:
Adding to user's answer since I can't add to comments.
Right-click the project and select "Unload Project". You will then be permitted to right-click and edit the project file.
Upvotes: 3
Reputation: 132
The virtual directory of the project is not set properly which is why its not loading, edit the virtual directory of the project by right clicking the project > edit project then find this line of code:
<iisurl>http://localhost</iisurl>
change or add the name of the web project after local host:
<iisurl>http://localhost/webname</iisurl>
Another solution is to make sure asp.net is registered to the IIS go into visual studio tools> visual studio command prompt and typer aspnet_regiis -r
More info on registering asp.net here: http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx
Hope this helps.
Upvotes: 8