G
Guest
I have a simple question. I created a new Web thru IIS (MyWeb) that points to c:\Inetpub\wwwroot\MyWeb
Then I created a new asp.net project in VS. The problem that I have is this: when I compile and run the project, it's link looks like this
http://localhost/MyWeb/Default.asp
which means that if in Default.aspx I put a link to "\login.aspx" for example, it will fail, because "\" is "/localhost/". I need to have the root represented by the entire link. Therefore "\login.aspx" should point to "http://localhost/MyWeb/login.aspx" instead of "http://localhost/login.aspx". If it doesnt how am I supposed to work on different projects?? If I need to work on 3 different sites I need each of them to have it's own root..
How can I do that? Thank you
andrew
Then I created a new asp.net project in VS. The problem that I have is this: when I compile and run the project, it's link looks like this
http://localhost/MyWeb/Default.asp
which means that if in Default.aspx I put a link to "\login.aspx" for example, it will fail, because "\" is "/localhost/". I need to have the root represented by the entire link. Therefore "\login.aspx" should point to "http://localhost/MyWeb/login.aspx" instead of "http://localhost/login.aspx". If it doesnt how am I supposed to work on different projects?? If I need to work on 3 different sites I need each of them to have it's own root..
How can I do that? Thank you
andrew