Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP cannot create a file on an XP Prof.
Message
Information générale
Forum:
ASP.NET
Catégorie:
Securité
Divers
Thread ID:
00891569
Message ID:
00891752
Vues:
25
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,
Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform