« Previous Next »
Last post 10-27-2009 7:46 AM by chris pick. 10 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (11 items)
Sort Posts: Oldest to newest Newest to oldest
We need more information.
How are you writing a file?
What does "cannot write" mean - is there an error message?
What does the virtual directory point to?
Sounds like an NTFS permissions issue, but that's hard to tell since you did not provide the error message.
The ASP.NET process needs to have NTFS write access to the folder, no way around that.
My guess is that your issue does not involve IIS permissions settings but rather file system permissions.
http://www.bing.com/search?q=asp.net+write+ntfs+file+permissions&mkt=*&FORM=IE8SRC&adlt=strict
Make sure the appropriate user has the correct permissions on the relevant folder(s).
http://msdn.microsoft.com/en-us/library/kwzs111e.aspx
http://support.microsoft.com/kb/812614
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea46e264-32db-47a0-b755-2c2262fcc078.mspx
For IIS 6, it's likely you need to grant Modify permissions for IIS_WPG.
I have no idea what you mean by that.
chris pick:The standardwebpage is placed in C:/inetpub/wwwroot and my virt path somewhere else on the HDD
Right. The NTFS file and folder permissions are likely to be different elsewhere on your HDD, as compared to the default root folder at C:\inetpub\wwwroot.
I don't have anything called standardwebpage on any of my IIS systems.