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(""))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top