Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run my website in localhost
Message
De
25/10/2007 17:42:15
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01263813
Message ID:
01263856
Vues:
9
Hi Paul,

It is showing my login name when I put this code in Page_Load. I also have edited the User name and put sdeleon in it, but it still does not work. Please help.

Thanks,
Sam

>>I am trying to run my web project in localhost, but I keep getting this error:
>>
>>
>>Server cannot access application directory 'D:\Documents and Settings\sdeleon\My Documents\Visual Studio 2005\WebSites\Practise101\'. The directory does not exist or is not accessible because of security settings.
>>
>>
>>I have created a virtual directory pointing it to the path, but I am still having this problem. Please help. Thanks, Sam
>
>It's probably a security issue. IIS impersonates a different user account which probably doesn't have permission to access that directory. It's easy enough to determine which user should be given access - create a test page that has this line of code in the Page_Load():
>
>Response.Write(Environment.UserName);
>
>It's probably something like IWAM_ or NETWORK SERVICE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform