|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
file access problemI am having problem trying to create a file on windows server 2003. There is a problem creating this campaign: campaign1 ---> System.Exception: Error creating HTML files ---> System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\eap\campaign\campaign1_Eng.html" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at e_ap.util.createFile(String path, String content) in c:\inetpub\wwwroot\e_ap\util.cs:line 76 at e_ap.campaign.createHTMLFiles(String code, String language, String HTMLText) in c:\inetpub\wwwroot\e_ap\campaign.cs:line 260 --- End of inner exception stack trace --- at e_ap.campaign.createHTMLFiles(String code, String language, String HTMLText) in c:\inetpub\wwwroot\e_ap\campaign.cs:line 271 at e_ap.campaign.create(String usrName, Int32 temCode, String language, String HTMLText) in c:\inetpub\wwwroot\e_ap\campaign.cs:line 64 --- End of inner exception stack trace --- at e_ap.campaign.create(String usrName, Int32 temCode, String language, String HTMLText) in c:\inetpub\wwwroot\e_ap\campaign.cs:line 86 at e_ap.camp12.btnContinue_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\e_ap\camp12.aspx.cs:line 208 the ASPNET user and even the IUSR user has full access to write to that folder. Also the folder read-only attribute is off and in web.config the authentication mode is None. Does any body have any suggestion? Thanks in advance *** Sent via Developersdex http://www.developersdex.com ***
Basic question about Public Private Key Pairs
Windows authentication How to protect data in executable file? Possible security error loading an Xsl? Forms authentication fails on Windows XP PRO Encrypting short data w/ asymmetric cipher Access Denied .Net Security Hole Problem - clients read each others files PasswordDeriveBytes in .NET 2.0 Beta Troubleshoot Caspol |
|||||||||||||||||||||||