I don't obtain to use Server.Mappath...

  • Thread starter Thread starter Dexter
  • Start date Start date
D

Dexter

Hello all,
I have a class that do the recording of a xml file in my HD, but only
function when i write the absolute path, if i use the Server.Mappath the
file don't record.

Somebody know to make anything about this?


Thanks



Dexter
 
Is the Web set as an application? It may be that the file needs to be in a
different place that you expect.

You could try putting this in your code to find out where the file should be:

response.write(server.mappath(""))
 
Back
Top