PDA

View Full Version : access denied error when trying to write to text file


bruce
12-08-2008, 07:23 AM
create a support ticket including the way to replicate the error.


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

tomcat68
12-08-2008, 08:50 AM
I'm trying to open and write to a file in a subdirectory. I went into Permission Manager and madethe directoryhave WRITE access. I'm getting an error like this (for privacy Ireplaced some actual directory names with"..."):

System.UnauthorizedAccessException: Access to the path 'E:\web\...\htdocs\...\Logging\LogFile.txt' is denied

I uninstalled the Web Application and re-installed and this didn't help either. Anybody know what the problem could be?

Thanks,

Tom