Re: How to solve it ?

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/25/04


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
: > >
: > >
: >
: >
:
:



Relevant Pages

  • Re: Exchange OWA 2003 "Server Error in /OWAAdmin Application"
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... exception can be identified using the exception stack trace below. ... context) +85 ...
    (microsoft.public.exchange.admin)
  • Server Error in /Backup Application
    ... Please review the stack trace for more information about ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +176 ...
    (microsoft.public.windows.server.sbs)
  • Re: Updated info
    ... An unhandled exception occurred 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. ... We've opened ports 443 and 4125 in the Netopia router but still can't get a RWW logon prompt. ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP.NET 2.0 Web Page Problem?
    ... Based on the stack trace you've shown the problem is when the Operations_HBMBlockStatus page's Repeater1 ItemCreated event is being raised. ... You sister site might be hiding the exception by logging it or ignoring them somehow, I'd need to see the code to say for sure. ... I have obtained a scripted database and compiled ASP.NET 2.0 application from a sister site that I'm trying to implement locally. ... An unhandled exception occurred during the execution of the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Error loading XML file c:windowsmicrosoft.netframeworkv1.0.3705Configmachine.config
    ... Request for the permission of type ... System.Security.Permissions.StrongNameIdentityPermission, mscorlib, ... Exception Details: System.Configuration.ConfigurationException: Error ... the exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast