Relative path question (server.mappath())

mtaylor314

Member
Joined
Nov 30, 2006
Messages
19
Location
Cleves, OH
Programming Experience
Beginner
I am having substantial problems with a Web site I have created. There are different files that get accessed from a "Data Files" folder and .jpg from a "Images" folder. Testing from my PC and others in the same office, the Server.Mappath("Data Files") and Server.Mappath("Images") works great. But in production (and I am not at the site to verify) it does not work properly. The error message on the login screen is "unable to read file 'c:\inetpub\wwwroot\WebSiteName\Data Files\UserData.xml'" Any help would be appreciated. Thank you. :confused:
 
Back
Top