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 Chriss Miller 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 correct path

Status
Not open for further replies.

Shift838

IS-IT--Management
Joined
Jan 27, 2003
Messages
987
Location
US
I have a problem when I use:

Server.Mappath(" ") it returns the correct directory I am developing in, but when I publish it to a different directory it still returns the old directory. Could this be some type of cache issue? I have cleared all cache files, but still get this..

 
>>Server.Mappath(" ") it returns the correct directory I am developing in, but when I publish it to a different directory it still returns the old directory

not very clear, what do u mean by publish to a differnet directory???

Known is handfull, Unknown is worldfull
 
I was talking about I can develop it one directory and copy it to another once I'm done and it was returning the same old directory. I found out I had some type of spyware that was not allowing me to clear my cache. I got rid of it and rebuilt the project it all works fine.

thanks,

chris
 
k...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top