web.config file

P

pmelanso

Hello,
I am trying to use an error manager dll to record my error and I am
having a hard time getting it to write to the file on the web server. I
have to delare the path to the text file to write to in the web.config
file but I don't know how to tell it what the full path is. I have
tryed putting a ~ infront but that doesn't work.

What is a way to get the server path to my folder in the web.config
file?

Pam
 
M

m.posseth

as addon :

even if you have the correct path , it is still not possible to write to a
file , as the asp.net worker proces does standard have no rights to write to
a file

a better way would be in my opinion to write the error to the application
event log or a db

regards

Michel Posseth
 

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

Top