Hi, friends,
I have an asp.net project, and I have a DB.dll used to retieve data from DB.
In DB.dll, I used catch{} in try/catch statements to write errors into a log
file, if there is any.
However, when DB.dll tried to write errore to the log file I specified by
System.IO.File.AppendText(mLoggerFileName)
I got an exception error:
"Access to the path
\"c:\\inetpub\\wwwroot\\msc\\log\\MSCExceptionLogger.log\" is denied."
I then used Windows Explorer, found c:\inetput\wwwroot\msc\log directory,
right clicked on it, selected Sharing and Security, in the Web Sharing tab,
selected Write access right and Applicatoin permission with None. It still
did not work.
Any ideas? Any reference paper or step-by-step guildance on how to give
access permission?
Thanks a lot.