• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do you map "localhost" to inetpub/wwwroot?

Nirvana1979

Junior Member
I'm having a very frustrating problem with visual studio.net. I have a webappliction project in my wwwroot directory, but when I try to open it I get the error c:\localhost\webapplication1 does not map to inetpub\wwwroot. My IIS is working and everything, and I can load html documents remotly from my iis, but VS projects won't open! Does anyone have any ideas on how I can fix this?
 
I am trying to open a c# project file named WebApplication1. I am able to open .aspx files and any other file individually with visual studio, but I cannot open up project files. The exact error messages is Unable to open webapplication1, the filepath c:\inetpub\wwwroot\webapplication1 does not correspond to http://localhost:/webapplication1 the two need to map to the same server location. HTTP Error 404.

This file opens up fine on my school network, and i have it in the same directory. Do I have to configure my server to open up visual studio project files???
 
Are you using whatever IIS' equivalent of Apache's name based virtual servers is? Because I had to deal with this at school on Friday. Go into the site properties in IIS, choose advanced for the ip's it's listening on, and add localhost in there.
 
Back
Top