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.