Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default ASP.NET account on Server 2003
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01163667
Message ID:
01163762
Views:
8
Put:

< %= Environment.UserName % >

into a page to see the account the application is running under. Most likely it'll be NETWORK SERVICE.

The account is configurable in the IIS 6 Application Pool Impersonation setting.

+++ Rick ---

>I have hit another wall on installing ASP.NET 2.0 application on Server 2003.
>
>I have a little test page that simple opens a database (VFP database) and gets a version number from it. I use this page to test the user access privileges. It only works if we put impersonate element in the Web.Config of the administrator name and his password. But when we comment the Impersonate line, access is denied.
>
>On WinXP Pro any ASP.NET page runs under the account ASPNET by default. And by giving the user ASPNET access to the folder where the data resides it works on Win XP.
>
>On this Server 2003 the admin guy gave the user ASPNET full access to the data folder. Yet, the page that does not impersonate anybody has no access.
>
>My question, has this been changed on Server 2003? Is there a switch somewhere that has to be set for the default account ASPNET to work?
>
>Thank you.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform