connect to IIS server

  • Thread starter Thread starter psid
  • Start date Start date
P

psid

hello,
while I try to create my first web application in c#, I get the following
error from the create new project dialog:
"Unable to create web project <project_name>. The file path '\\server\
wwwroot$\webApplication' does not correspond to the URL 'http://server/
webApplication' the two need to map to the same server location. HTTP
error 404: not found"
There is a web server, while the development environment run on a separate
machine in the same lan.

Any help much appreciated.
 
psid said:
hello,
while I try to create my first web application in c#, I get the following
error from the create new project dialog:
"Unable to create web project <project_name>. The file path '\\server\
wwwroot$\webApplication' does not correspond to the URL 'http://server/
webApplication' the two need to map to the same server location. HTTP
error 404: not found"
There is a web server, while the development environment run on a separate
machine in the same lan.

Any help much appreciated.

Well, first problem i see is back-slash instead of slash in the path to
the app. Keep in mind that for web apps you don't put a file path,
instead you put an URL to the application folder.

So it should look like:

http://your_server/wwwroot/WebApplication1

that's what you put as a location for the new project
 
Back
Top