Chris,
That does seem strange that the directory is read-only and won't allow you to change that. Have you tried removing yourself from the domain and using the computer stand-alone? Are you logged in as an administrator on that machine?
>Hi Cathi,
>Thanks for the reply.
>Strange, I have those accounts setup for access from both the Active Directory domain and the machine but no go. I just noticed that the directory is flagged as read only. I remove the read only attribute in properties and apply but if I go back, the attribute change dosn't stick. I even deleted the directory and recreated the folder. I can, however, create folders and files within using Windows Explorer.
>I'm not quite sure why I don't get a failed event in my security event log.
>
>
>>Hi Chris,
>>
>>XP Prof should be working. Try writing to a directory below your vroot of your app. Give this directory permissions to the ASPNET account.
>>
>>>My asp.net app uses System.IO.File.Create(C:\XXXX) to create a file.
>>>This works fine with Win 2000 Svr. but I'm not crashes XP prof.
>>>I have given the aspnet and network service accounts unlimited access to the directory where I want to write but it keep getting denied.
>>>Also, I don’t get a failure audit in the event log. Just a crash in .NET.
>>>
>>>Any ideas?
>>>
>>>Thanks,
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi