Re: ASPUSER account problem?
From: Jason Brown [MSFT] (i-brjaso_at_online.microsoft.com)
Date: 03/17/05
- Next message: Jason Brown [MSFT]: "Re: IIS Server default user account reset after patching?"
- Previous message: Adam: "Re: IUSR issue"
- In reply to: Cwhitmore: "ASPUSER account problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 17 Mar 2005 22:41:33 +1100
well, as the error message outlines, the error message is on a registry key.
I note you haven't changed any permissions on your registry keys. I am a
little intrigued as to why it's trying to access this key though - you're
doing something unusual?
registry key perms can be set with regedt32.exe, but as always take care...
--
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
"Cwhitmore" <Cwhitmore@discussions.microsoft.com> wrote in message
news:427F7DD1-2F15-43E4-AE8C-9D155A41072C@microsoft.com...
> 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: Jason Brown [MSFT]: "Re: IIS Server default user account reset after patching?"
- Previous message: Adam: "Re: IUSR issue"
- In reply to: Cwhitmore: "ASPUSER account problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Loading