Cannot log in to WSUS console. ASP.NET errors in event log. HELP!

I attempted a fresh new installation of WSUS 3.0 SP1 on a windows 2003 server.  The server is a domain controller and it also runs SQL 2005 and backup exec 12.5.

I used the windows internal database for wsus.  At the end of the wsus install I saw the following error:
At the end of install, got an error saying "an
unexpected error occurred, and this wizard must be closed.  You may restart
the wsus server configuration wizard from the options page in the WSUS 3.0
console. Then Microsoft.UpdateServices.UI.00BEWixard.exe has encountrered a
problem and needs to close.  We are sorry for the inconvenience.

I've tried removing and reinstalling WSUS.  I've checked the permissions on everything and it all looks ok.  I verified network service account had the correct permissions to the temp folders in windows and that the path  variables are correct.  I've tried a repair install of .net framework using aspnet_regiis.exe -i

I'm at a loss here.  I still cannot log in to the mmc console and connect to this server's instance of WSUS and those asp.net errors appear in the event log since the wsus install.

Event code: 3007
Event message: A compilation error has occurred.
Event time: 7/14/2009 7:33:11 AM
Event time (UTC): 7/14/2009 11:33:11 AM
Event ID: 5a7a43299a9c4594bae646f27ff2cf3f
Event sequence: 3
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1755388587/ROOT/ApiRemoting30-1-128920447908936602
    Trust level: Full
    Application Virtual Path: /ApiRemoting30
    Application Path: C:\Program Files\Update Services\WebServices\ApiRemoting30\
    Machine name: ATL-SERV-1
 
Process information:
    Process ID: 728
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpCompileException
    Exception message: (0): error CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\apiremoting30\ae21e50a\385ce470\App_global.asax.sasgns94.dll' -- 'Access is denied. '
 
Request information:
    Request URL: http://atl-serv-1:8530/ApiRemoting30/WebService.asmx 
    Request path: /ApiRemoting30/WebService.asmx
    User host address: 10.102.2.101
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
   at System.Web.Compilation.BuildManager.CompileGlobalAsax()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
 
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
NBFAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DonNetwork AdministratorCommented:
you might have missed some additional permissions


http://www.eggheadcafe.com/conversation.aspx?messageid=33111934&threadid=33073671

The most likely cause here is that you have incorrect permissions on theTemporary ASP.NET Files folder.Make sure that the NTAUTHORITY\Network Service account has WRITE permissionson "Temporary ASP.NET Files", and that those permissions are inherited toall files and subfolders.

0
DonNetwork AdministratorCommented:
If that doesnt work I would uninstall WSUS, uninstall IIS. Reinstall IIS with ASP.NET, Reinstall WSUS.
0
NBFAuthor Commented:
I have uninstalled wsus, iis, asp.net and .net framework 2 3 and 3.5

I reinstalled all of the starting in the order listed above except wsus was last.

I am still having issues.  I verified the temp asp.net directory for all of the .net framework versions has the correct permissions for network service account.  

This is a production windows 2003 server and we really need to get this working.  This server is also a domain controller and running SQL 2005 although wsus is set to use the windows internal database.  We have 2 other servers in remote locations that are working and have a very similar configuration.  Any other suggestions?

Here is examples of what I am seeing in the application event log.

EVENT ID 1310:

Event code: 3007
Event message: A compilation error has occurred.
Event time: 7/15/2009 12:30:13 AM
Event time (UTC): 7/15/2009 4:30:13 AM
Event ID: b590ff7aff42489abe81be9419bd094d
Event sequence: 3
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1431982452/ROOT/ApiRemoting30-16-128921058127626396
    Trust level: Full
    Application Virtual Path: /ApiRemoting30
    Application Path: C:\Program Files\Update Services\WebServices\ApiRemoting30\
    Machine name: ATL-SERV-1
 
Process information:
    Process ID: 7784
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpCompileException
    Exception message: (0): error CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\apiremoting30\9341bae7\73273fa8\App_global.asax.1o368-ds.dll' -- 'Access is denied. '
 
Request information:
    Request URL: http://atl-serv-1:8530/ApiRemoting30/WebService.asmx 
    Request path: /ApiRemoting30/WebService.asmx
    User host address: 10.102.2.101
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
   at System.Web.Compilation.BuildManager.CompileGlobalAsax()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
 
 

EVENT ID 18456:

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. [CLIENT: <named pipe>]


EVENT ID:  12042, 12022, 12032, 12012, 12002

The Reporting Web Service is not working.
The API Remoting Web Service is not working.
The Server Synchronization Web Service is not working.
The Client Web Service is not working.
The SimpleAuth Web Service is not working.
The DSS Authentication Web Service is not working.


EVENT ID 17207
FCB::Open: Operating system error 5(Access is denied.) occurred while creating or opening file 's:\WSUS\\UpdateServicesDbFiles\SUSDB.mdf'. Diagnose and correct the operating system error, and retry the operation.

EVENT ID 7053

The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,

Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.


System.NullReferenceException -- Object reference not set to an instance of an object.

Source
Microsoft.UpdateServices.UI.SnapIn

Stack Trace:
   at Microsoft.UpdateServices.UI.SnapIn.Pages.ServerSummaryPage.backgroundWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)




0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

DonNetwork AdministratorCommented:
Lets straighten out your permissions
 
What are the correct IIS and NTFS permissions for WSUS?
0
DonNetwork AdministratorCommented:
You might have had more success with a better removal of WSUS before reinstall
 
How to manually remove all of WSUS
0
NBFAuthor Commented:
I figured it out.  For the tmp and temp variables there are user and system.  They were different. I gave network service account permissions to the proper temp folder and everythign is working.  Heck of a lot of work to go through last night for something as simple as this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.