Re: How to solve it ?
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/25/04
- Next message: Daymark: "Re: SSL and Forms Authentication"
- Previous message: Ken Schaefer: "Re: Allow Integrated Windows Authentication Token to be delegated?"
- In reply to: Federico Moschini [328594]: "Re: How to solve it ?"
- Next in thread: Federico Moschini [328594]: "Re: How to solve it ?"
- Reply: Federico Moschini [328594]: "Re: How to solve it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Mar 2004 12:35:27 +1100
Do you get the error if you just create a simple ASP.Net page that just use
a literal control to output the "Hello World" or similar?
Cheers
Ken
"Federico Moschini [328594]" <federicom@nospam.it> wrote in message
news:ONeVWCaEEHA.2804@tk2msftngp13.phx.gbl...
: I think it is not a problem with commerce server because I have the same
: error with all the aspx sites (also not related with commerce server).
:
: Thank you.
: Federico
:
: "Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in
: message news:eubBcWZEEHA.3404@TK2MSFTNGP10.phx.gbl...
: > I haven't used Commerce server before so this may change things a bit,
but
: > in order for web apps (in general) to write to the event log, you need
to
: > grant the ASPNET (Win2k) or NETWORK SERVICE (Win2003) user write access
to
: > that event log by setting up the ACL permission in the registry key at
: >
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application
: >
: > or even at the base level
: >
: > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog
: >
: > Go into 'regedit', go to the key above, set permissions for the specific
: > user (one of the 2 above) to write access
: >
: > - Paul Glavich
: >
: > "Federico Moschini [328594]" <federicom@nospam.it> wrote in message
: > news:#M0fbHZEEHA.3372@TK2MSFTNGP10.phx.gbl...
: > > Access 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 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 is denied.]
: > > SharedFns.WriteToEventLog(String& sString, Int16& iLogType, Int32&
: > > iEventID) +34
: > >
: > >
: >
:
Microsoft.CommerceServer.Interop.Configuration.SiteConfigReadOnlyFreeThreade
: > > d.Initialize(String bstrSiteName) +4215
: > >
: > >
: >
:
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..c
: > > tor(String siteName) +217
: > >
: > >
: >
:
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
: > > tion() +195
: > >
: > >
: >
:
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
: > > ion appInstance) +76
: > > System.Web.HttpApplication.InitModules() +100
: > > System.Web.HttpApplication.InitInternal(HttpContext context,
: > > HttpApplicationState state, MethodInfo[] handlers) +1297
: > >
: > >
: System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
: > > context) +392
: > >
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
: > > context) +256
: > > System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
: > +414
: > >
: > >
: > >
: >
:
> --------------------------------------------------------------------------
: > --
: > > ----
: > > Version Information: Microsoft .NET Framework Version:1.1.4322.940;
: > ASP.NET
: > > Version:1.1.4322.967
: > >
: > >
: >
: >
:
:
- Next message: Daymark: "Re: SSL and Forms Authentication"
- Previous message: Ken Schaefer: "Re: Allow Integrated Windows Authentication Token to be delegated?"
- In reply to: Federico Moschini [328594]: "Re: How to solve it ?"
- Next in thread: Federico Moschini [328594]: "Re: How to solve it ?"
- Reply: Federico Moschini [328594]: "Re: How to solve it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|