Networking Forums

Networking Forums > Computer Networking > Windows Networking > System.UnauthorizedAccessException error on Windows Server 2003

Reply
Thread Tools Display Modes

System.UnauthorizedAccessException error on Windows Server 2003

 
 
Chey Zaga
Guest
Posts: n/a

 
      01-13-2004, 03:19 AM
Hi,

I am trying to set up a website on a server (Win Server 2003) that is also
the domain controller. When trying to run an .aspx page I am getting the
error message below.
I assume that this is a security issue relating to the fact that this server
is also the domain controller.
I followed the steps listed in the article:
http://support.microsoft.com/default...en-us%3B315158 but still
with no results.



Any help will be greatly appreciated.



Jason
Web developer
www.BizRealTime.com





Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary
ASP.NET Files\root\de341f6f\e6fe31a9" 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\root\de341f6f\e6fe31a9" 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:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\root\de341f6f\e6fe31a9" 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.DoFi rstTimeInit(HttpContext
context) +85


System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContex
t context) +97


System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(Http
Context context, String virtualPath, Boolean fApplicationFile) +29

System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation()
+91

System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +148

System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125

System.Web.UI.TemplateParser.GetParserCacheItem() +88

System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171

System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext context)
+43

System.Web.HttpApplicationFactory.Init(HttpContext context) +485

System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context) +170

System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414











 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on Windows server 2003 bharat Windows Networking 0 03-28-2007 02:01 AM
VPN error 721 with Windows 2003 server Baz Windows Networking 9 03-02-2007 12:13 AM
Server 2003: Insufficient System Resources error Jamie Windows Networking 2 10-07-2005 09:50 PM
Configuring system monitor in windows server 2003... =?Utf-8?B?SkMgaW4gbmVlZCBvZiBoZWxw?= Windows Networking 1 02-13-2005 01:48 AM
How to connect windows98 system to windows server 2003 Giridhar Windows Networking 0 10-07-2003 04:31 AM



1 2 3 4 5 6 7 8 9 10 11