RE: SBS2003 - Some websites don´t work

Tech-Archive recommends: Fix windows errors by optimizing your registry



http://support.microsoft.com/kb/823379 -- Did the work!

"MrM" skrev:

> Its a new SBS2003 std SP1, Exchange SP2...
>
> When I try to open CompanyWeb this error shows up after a logon page:
>
> Server Error in '/' Application.
>
> Runtime Error
> Description: An application error occurred on the server. The current custom
> error settings for this application prevent the details of the application
> error from being viewed.
>
> Details: To enable the details of this specific error message to be viewable
> on the local server machine, please create a <customErrors> tag within a
> "web.config" configuration file located in the root directory of the current
> web application. This <customErrors> tag should then have its "mode"
> attribute set to "RemoteOnly". To enable the details to be viewable on remote
> machines, please set "mode" to "Off".
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="RemoteOnly"/>
> </system.web>
> </configuration>
>
> Notes: The current error page you are seeing can be replaced by a custom
> error page by modifying the "defaultRedirect" attribute of the application's
> <customErrors> configuration tag to point to a custom error page URL.
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
> </system.web>
> </configuration>
>
> When I try to open localhost/backup this shows:
>
> Server Error in '/Backup' Application.
>
> Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
> ASP.NET Files\backup\55b79170\2502a0a" 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 path
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\backup\55b79170\2502a0a" 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 path
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\backup\55b79170\2502a0a" is denied.]
> System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
> System.IO.Directory.InternalCreateDirectory(String fullPath, String path)
> +632
> System.IO.Directory.CreateDirectory(String path) +195
> System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext
> context) +85
>
> System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext
> context) +98
> System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +153
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +454
>
> [HttpException (0x80004005): ASP.NET Initialization Error]
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +946
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
> Version:1.1.4322.2300
>
>
> What I CAN access:
>
> http://localhost
> http://Servername
> http://IPnumber
> http://Servername/exchange
> http://localhost/tsweb
> http://localhost/ConnectComputer
> http://localhost/Public
.



Relevant Pages

  • Re: SharePoint Services Authentication problem (after SharePoint Server removal)
    ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.StreamWriter.CreateFile(String path, Boolean append) +55 ... context) +98 ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Exchange OWA 2003 "Server Error in /OWAAdmin Application"
    ... I can right click elsewhere within the outlook window but not on the ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... context) +85 ...
    (microsoft.public.exchange.admin)
  • Re: net logon
    ... this is a problem with running ASPNet on a DC: ... : Description: An unhandled exception occurred during the execution of the ... granting access rights to the resource to the ASP.NET request identity. ... HttpContext context, String virtualPath, Boolean fApplicationFile) +111 ...
    (microsoft.public.inetserver.iis.security)
  • Exchange OWA 2003 "Server Error in /OWAAdmin Application"
    ... I installed the Microsoft OWA Admin tool and when I try to go ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... context) +85 ...
    (microsoft.public.exchange.admin)
  • 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)