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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP page on server producing errors

Status
Not open for further replies.

minignaz

Programmer
Jan 10, 2005
9
GB
Hello,

Im recieving this error when I try and load an asp page from my server:

Server.MapPath() error 'ASP 0172 : 80004005'

Invalid Path

/Holidays/config.asp, line 10

The Path parameter for the MapPath method must be a virtual path. A physical path was used.

I dont understand what this means or is trying to tell me, line 10 of my code is a comment in the config.asp file, so I really dont know what it is trying to say.
Does anyone know what this is and how to solve it?
 
in the parameters for server.mappath you used something like ("c:\somefolder\somefile.txt") or a variable set to this.

The function takes a folder and filename from within the site eg ("/textfiles/somefile.txt") and returns a physical path.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top