web.config file

  • Thread starter Thread starter pmelanso
  • Start date Start date
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
 
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
 
Back
Top