Solved

Server Error in '/WSUSAdmin' Application.

Posted on 2006-07-12
3
543 Views
Last Modified: 2012-08-14
I resently upgraded from server 2000 to 2003 and have had a few minor /magor issue one being that WUSU will not work for me I tried some things and notice there a few things 2003 wont let me do. WUSU worked perfect before the upgrade now I get this error.


Server Error in '/WSUSAdmin' Application.
________________________________________
Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\hash.web" 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\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\hash.web" 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\Temporary ASP.NET Files\wsusadmin\78d58f56\64305bda\hash.web" is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +44
   System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +49
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +20
   System.Web.Compilation.PreservedAssemblyEntry.WritePreservedSpecialFilesCombinedHash(Int64 hash) +165
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +851
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
   System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
   System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +178
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +99
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.230
0
Comment
Question by:gotti777
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
bilbus earned 500 total points
ID: 17091582
sounds like you installed AD on the server after wsus was installed. Is that the case?

Its becasue a DC secures a bunch of files, ASP is one of these

Your two choices are to uninstall wsus and reinstall. If you do this you will not loose your database (if you do not click check boxes)

or

Promoting the WSUS server to a domain controller might disrupt your ability to access the WSUS console
When you promote a WSUS server to a domain controller and then try to access the WSUS console, you might receive a message similar to the following:

 

Server Error in '/' Application.

 

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\wsusadmin\8c91a6b5\649b28ba\global.asax.xml" is denied.

 

This occurs if IIS 6.0 and ASP.NET are installed on the server before the server is promoted to a domain controller. This is because the Network Service group does not have sufficient permissions for the Temporary ASP.NET Files folder. To avoid this problem, make sure that you promote the WSUS server to a domain controller before you install IIS 6.0 and ASP.NET. To resolve this issue, enable appropriate permissions for the Network Service group by using the following procedure.

 To enable appropriate permissions for the Network Service group
 
 1.  Click Start, and then click Run.
 
2.  In the Open box, type cmd, and then click OK.
 
3.  At the command prompt, type the following, and then press ENTER:

drive:\windows\microsoft .net\framework\v1.1.4322\aspnet_regiis -i

 

where drive is the drive letter of the disk on which you installed Windows.
 
 

Cannot access the WSUS console on Windows 2000 Server configured as a domain controller
If you cannot access the WSUS administrative console and you are using Windows 2000 Server configured as a domain controller, you need to relax security permissions for ASP.NET in order for the WSUS console to function. The workaround is to give read access for IWAM account to %windir%\assembly.

 To give read access for the IWAM account on Windows 2000 Server configured as a domain controller
 
 • At the command prompt, type the following, and then press ENTER:

cacls %windir%\assembly /e /t /p IWAM_xxxx:R

where %windir% is the Windows directory of the computer and where IWAM_xxxx is the IWAM computer account.
 
 
0
 

Author Comment

by:gotti777
ID: 17111396
I tried the permissions for the Network Service group
 but that didnt work. I cant uninstall now cause my unistall is broken.  If i reinstall Service pack one will there be an issue?
0
 
LVL 8

Expert Comment

by:bilbus
ID: 17143921
you can reinstall wsus also, that will fix it, be sure to also keep the settings (you want to keep logs, DB, and something else you will see the boxes on the reinstall)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now