ASPUSER account problem?
From: Cwhitmore (Cwhitmore_at_discussions.microsoft.com)
Date: 03/16/05
- Next message: Steve Marshall: "IIS Server default user account reset after patching?"
- Previous message: Miha Pihler [MVP]: "Re: Problem with Integrated Windows authentication on SSL connection"
- Next in thread: Jason Brown [MSFT]: "Re: ASPUSER account problem?"
- Reply: Jason Brown [MSFT]: "Re: ASPUSER account problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 16 Mar 2005 08:57:04 -0800
I've installed an app that requires ASP.NET 1.1. I'm running on Windows 2k
Server, with IIS 5.0, Active Directory and ASP.NET 1.1. I get to the login
screen of the app, but I get an error message after that. Here is what I've
tried so far:
1.) Created ASPUSER account and given it full access on \WINNT\Temp, Apps
Data directory and Asp.NET 1.1 directory
2.) Gave IWAM_servername and IUSR_servername full rights to the apps data
directory
3.) Edited machine.config to change the username to ASPUSER under the
ProcessModel section
Here is the error message below:
Access to the registry key HKEY_CURRENT_USER\Software\VB and VBA Program
Settings\CMA\StaffTracker Demo is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the
registry key HKEY_CURRENT_USER\Software\VB and VBA Program
Settings\CMA\StaffTracker Demo is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties" and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the boxes
for the desired access.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAccessException: Access to the registry key
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\CMA\StaffTracker Demo
is denied.]
Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) +74
Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) +503
Microsoft.VisualBasic.Interaction.SaveSetting(String AppName, String
Section, String Key, String Setting) +81
StaffTracker.WEB.wfrmLogin.btnOk_Click(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1273
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
- Next message: Steve Marshall: "IIS Server default user account reset after patching?"
- Previous message: Miha Pihler [MVP]: "Re: Problem with Integrated Windows authentication on SSL connection"
- Next in thread: Jason Brown [MSFT]: "Re: ASPUSER account problem?"
- Reply: Jason Brown [MSFT]: "Re: ASPUSER account problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|