connect to IIS server

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.
 
M

MuZZy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top