In ASP.NET 2.0 with C# When I have error I show an error page for the user and I also write all the details of the error into a log file for the managers of the site.
This file is located in "~/logs/ErrorLogWS.txt".
In order to write to this file I had to give permissions to the USER group in the IIS otherwise the writing was denied. Is it O.k. to put the errorlog in the place of the site or is their another recomendation.