Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server.MapPath not returning full path info

Status
Not open for further replies.

iSeven

Programmer
Jun 14, 2002
6
US
Here's what I'm trying to map the path to.

Server.MapPath("\application\html\")

Here is what is being returned

c:\inetpub\wwwroot\application\html

However, this is not correct. The actual path is:

c:\inetpub\wwwroot\dpsu\application\html

The above is what should be returned but for some reason IIS(?) isn't returning this value. Previously this was working fine and then yesterday I noticed that none of the paths were being mapped properly on my development server.

Thanks for any input on this one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top