We help IT Professionals succeed at work.

Wsus+ asp.net error

heze54
heze54 asked
on
1,454 Views
Last Modified: 2008-10-29
Hi,

I've installed wsus 3.0 sp1 and configured using GPO to add computers.
After that, an error is shown (see text below)...  if  you take a look to "USER HOST ADDRESS"  I can see same message  only changing the ip.. those ips are AD computers ip.


How can I resolve this?
Event code: 3006
 
Event message: A parser error has occurred.
 
Event time: 30/09/2008 23:49:50
 
Event time (UTC): 30/09/2008 21:49:50
 
Event ID: 535f6e3abbc240f7a1fb6d57e7cd0515
 
Event sequence: 1
 
Event occurrence: 1
 
Event detail code: 0
 
Application information:
 
Application domain: /LM/W3SVC/1/ROOT/ClientWebService-39-128672849899687500
 
Trust level: Full
 
Application Virtual Path: /ClientWebService
 
Application Path: C:\Program Files\Update Services\WebServices\ClientWebService\
 
Machine name: xxxx
 
Process information:
 
Process ID: 532
 
Process name: w3wp.exe
 
Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
 
Exception type: HttpException
 
Exception message: The type 'Microsoft.UpdateServices.Internal.Global' is ambiguous: it could come from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\microsoft.updateservices.webservices.client.DLL' or from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\clientws.DLL'. Please specify the assembly explicitly in the type name.
 
Request information:
 
Request URL: http://xxxxxx/ClientWebService/client.asmx
 
Request path: /ClientWebService/client.asmx
 
User host address: xxxxxxx
 
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.BuildManager.ReportTopLevelCompilationException()
 
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
 
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)

Open in new window

Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2005

Commented:
You can try re-registering ASP with IIS.

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable

If that still fails then change the IIS Application Pool service to use the LOCAL SYSTEM account and restart the service.

Now, change the IIS Application Pool service to use the NETWORK SERVICE account and restart the service.

Let us know.

Author

Commented:
Hi,

Does not works...

I looking for iis application pool service but not found.... which is this service?

Best regards
CERTIFIED EXPERT
Top Expert 2005

Commented:

Author

Commented:
HI,

Same error... computers still not reporting to WSUS.
CERTIFIED EXPERT
Top Expert 2005

Commented:
Hosts not reporting to WSUS isn't the error I see above.  Has that error gone now?

Normally, there are only a few reasons why computers don't show up in WSUS:

1) Workstations were imaged incorrectly where Sysprep wasn't used - this causes all the workstations to have the same SID.
2) The GPO isn't setup properly.
3)  Automatic Updates is disabled on the workstations.

You can try this on one workstation:

Save the attached code as AU_Clean_SID.cmd

This needs to be run as an Administrator directly on the workstation.

Let me know.

@echo off
Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
Echo 1.    Stops the wuauserv service
Echo 2.    Deletes the AccountDomainSid registry key (if it exists)
Echo 3.    Deletes the PingID registry key (if it exists)
Echo 4.    Deletes the SusClientId registry key (if it exists)
Echo 5.    Restarts the wuauserv service
Echo 6.    Resets the Authorization Cookie
Echo 7.    More information on http://msmvps.com/Athif
Pause
@echo on
net stop wuauserv
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause

Open in new window

Author

Commented:
Hi,

This is the output from a certain domain computer:


Best regards

Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
1.    Stops the wuauserv service
2.    Deletes the AccountDomainSid registry key (if it exists)
3.    Deletes the PingID registry key (if it exists)
4.    Deletes the SusClientId registry key (if it exists)
5.    Restarts the wuauserv service
6.    Resets the Authorization Cookie
7.    More information on http://msmvps.com/Athif
Presione una tecla para continuar . . .
 
C:\WINDOWS>net stop wuauserv
El servicio de Actualizaciones automáticas está deteniéndose.
El servicio de Actualizaciones automáticas fue detenido con éxito.
 
 
C:\WINDOWS>REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpd
ate" /v AccountDomainSid /f
 
Error: el sistema no pudo encontrar la clave o valor de registro especificados
 
C:\WINDOWS>REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpd
ate" /v PingID /f
 
Error: el sistema no pudo encontrar la clave o valor de registro especificados
 
C:\WINDOWS>REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpd
ate" /v SusClientId /f
 
La operación finalizó correctamente
 
C:\WINDOWS>net start wuauserv
El servicio de Actualizaciones automáticas está iniciándose.
El servicio de Actualizaciones automáticas se ha iniciado con éxito.
 
 
C:\WINDOWS>wuauclt /resetauthorization /detectnow
 
C:\WINDOWS>Pause
Presione una tecla para continuar . . .

Open in new window

CERTIFIED EXPERT
Top Expert 2005

Commented:
Open Regedit.
Navigate to HKEY_LOCAL_MACHINE\Microsoft\Windows\CurrentVersion\WindowsUpdate

Confirm that the following values are there:

AccountDomainSid
PingID
SusClientId

If they aren't, then create them as String Values.  Do not give them a value.

Let me know.

Author

Commented:
Hi,

I use wsus 3 sp1.. this entry SUSclientID is part of old SUS server or wsus?
CERTIFIED EXPERT
Top Expert 2005

Commented:
Both.

Author

Commented:
Hi,

I found 2 of three entries... error in AccounDomainSid.. it wasnt.. created now as a REG_SZ!!
CERTIFIED EXPERT
Top Expert 2005

Commented:
That's correct.

As long as the workstation OS SID is different then you should start to see clients showing up.  Make sure to run the last line of the script again.

wuauclt /resetauthorization /detectnow

Author

Commented:
Ok,

Command done but no resutl... Ill wait more time!!!

Same error Event code: 3006 are still shown

CERTIFIED EXPERT
Top Expert 2005

Commented:
Is this code in the Event Viewer?

Author

Commented:
Hi,

Code attached.


EventiD 1310
 
 
Event code: 3006 
Event message: A parser error has occurred. 
Event time: 16/10/2008 13:21:16 
Event time (UTC): 16/10/2008 11:21:16 
Event ID: 394985d0077a4ab8a825c34b14eaeb38 
Event sequence: 1 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/ClientWebService-819-128686296763437500 
    Trust level: Full 
    Application Virtual Path: /ClientWebService 
    Application Path: C:\Program Files\Update Services\WebServices\ClientWebService\ 
    Machine name: xxxx
 
Process information: 
    Process ID: 5232 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: HttpException 
    Exception message: The type 'Microsoft.UpdateServices.Internal.Global' is ambiguous: it could come from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\clientws.DLL' or from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\microsoft.updateservices.webservices.client.DLL'. Please specify the assembly explicitly in the type name. 
 
Request information: 
    Request URL: http://xxxxx/ClientWebService/client.asmx 
    Request path: /ClientWebService/client.asmx 
    User host address: xxxxxxxxx
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 7 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
   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.

Open in new window

CERTIFIED EXPERT
Top Expert 2005

Commented:
Have you tried uninstalling and reinstalling WSUS?

It looks like a permissions error that should have been taken care of with the initial install.

Author

Commented:
Yes... I did and the same error
CERTIFIED EXPERT
Top Expert 2005

Commented:

Author

Commented:
Hi,

As you can see, the main server is zeus. Erros posted before (apsnet errors) are shown at event viewer-> application.

Best regrads

 
WSUS Client Diagnostics Tool
 
Checking Machine State
        Checking for admin rights to run tool . . . . . . . . . PASS
        Automatic Updates Service is running. . . . . . . . . . PASS
        Background Intelligent Transfer Service is not running. PASS
        Wuaueng.dll version 7.2.6001.784. . . . . . . . . . . . PASS
                This version is WSUS 2.0
 
Checking AU Settings
        AU Option is 3 : Notify Prior to Install. . . . . . . . PASS
                Option is from Policy settings
 
Checking Proxy Configuration
        Checking for winhttp local machine Proxy settings . . . PASS
                Winhttp local machine access type
                        <Direct Connection>
                Winhttp local machine Proxy. . . . . . . . . .  NONE
                Winhttp local machine ProxyBypass. . . . . . .  NONE
        Checking User IE Proxy settings . . . . . . . . . . . . PASS
                User IE Proxy
                192.168.156.70:8080
                User IE ProxyByPass
                https://citrix.serced.net;<local>
                User IE AutoConfig URL Proxy . . . . . . . . .  NONE
                User IE AutoDetect
                AutoDetect not in use
 
Checking Connection to WSUS/SUS Server
                WUServer = http://zeus
                WUStatusServer = http://zeus
        UseWuServer is enabled. . . . . . . . . . . . . . . . . PASS
        Connection to server. . . . . . . . . . . . . . . . . . PASS
        SelfUpdate folder is present. . . . . . . . . . . . . . PASS
 
Press Enter to Complete

Open in new window

CERTIFIED EXPERT
Top Expert 2005

Commented:
You may need to bypass your proxy for http://zeus.

You also should have the FQDN in the policy - like http://zeus.domain.com and any port number that WSUS is using that is NOT port 80 (the default).

Author

Commented:
Hi,

Proxy bypass for my server... where is configured? have I to configure my gpo?

Author

Commented:
Hi,

If I try to browse into http://zeus.serced.net/clientwebservice/client.asmx
Server Error in '/ClientWebService' Application.
--------------------------------------------------------------------------------
 
Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
 
Parser Error Message: The type 'Microsoft.UpdateServices.Internal.Global' is ambiguous: it could come from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\microsoft.updateservices.webservices.client.DLL' or from assembly 'C:\Program Files\Update Services\WebServices\ClientWebService\bin\clientws.DLL'. Please specify the assembly explicitly in the type name.
 
Source Error: 
 
 
Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft.UpdateServices.Internal.Global" %>
 
 
 
Source File: /ClientWebService/global.asax    Line: 1 
 
 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 

Open in new window

Author

Commented:
Hi,


Any information?

Author

Commented:
Hi,

This question must not be deleted.

I explained all data....  I have responded quickly  and  posted into the correct category.


Then... what can  I do?
CERTIFIED EXPERT
Top Expert 2005

Commented:
Here's what I want you to do:

1)  Uninstall WSUS.
2)  Uninstall the Windows Internal Database - use this method:

msiexec /x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} CALLERID=ocsetup.exe

3) If you currently do NOT have any websites running on this server other than WSUS, then uninstall IIS using Add/Remove>Windows Components.  Reboot the server here.

4)  Make sure all the prerequisites are installed - if your not sure install them again:

http://technet.microsoft.com/en-us/library/cc708484.aspx

5)  Reinstall IIS from Add/Remove>Windows Components - select Application Server then select Details and be certain ASP.NET is checked.

6)  Install the latest version of WSUS.

There is an entire walkthrough tree here:

http://technet.microsoft.com/en-us/library/cc708609.aspx

Author

Commented:
Hi,


Any other program like wsus?

Author

Commented:
Hi,


Any other program like wsus?


Best regards
CERTIFIED EXPERT
Top Expert 2005

Commented:
Not really.

Have you followed the last instructions I posted?

Author

Commented:
Yes... and when I was reinstalling wsus... the software crashed

agggggggggggggggggggg jajaja
CERTIFIED EXPERT
Top Expert 2005

Commented:
What were the errors?

Author

Commented:
Hi...

2nd attemp... OK.

Author

Commented:
Hi,

After installation, install ok, synchro ok.. same error asp.net.....

What can I do?

Best regards
CERTIFIED EXPERT
Top Expert 2005

Commented:
Brutal...

There must be a base pemission issue.

In one of the last links I provided you with, near the bottom of the article there was a section about permissions required by certain accounts.  Please check these permissions carefully before we make any more changes.

Let me know.

Author

Commented:
what link?
CERTIFIED EXPERT
Top Expert 2005

Commented:

Author

Commented:
Hi,

I verified:

1º was bad...changed

2º was bad..changed

3º was OK

After that, I rebooted some computers, and same error at server event viewer
Permissions
 
The following disk permissions must be granted to the specified users for the specified directories:
 
   1. Either the built-in group Users or the NT Authority\Network Service account (on Windows Server 2003) should have read permission for the root folder on the drive where the WSUS content directory resides. If this permission is missing, BITS downloads will fail.
   2. The NT Authority\Network Service account should have "Full Control" permission for the WSUS content directory, usually <SystemDriver>:WSUS\WsusContent. This permission is set by WSUS server setup when it creates the directory, but some security software may reset this permission. If this permission is missing, BITS downloads will fail.
   3. The NT Authority\Network Service account should have Full Control permission for the following folders in order for the WSUS Administration snap-in to display correctly:
          * %windir%\Microsoft .NET\Framework\v2.0.50727\Temporary ASP.NET Files
          * %windir%\Temp 

Open in new window

CERTIFIED EXPERT
Top Expert 2005

Commented:
Did you reboot the server after these changes?

Author

Commented:
Hi,

Yes... after server rebooted, I rebooted domain computers.

Same error at wsus server
CERTIFIED EXPERT
Top Expert 2005

Commented:
Did this server have IIS Lockdown run against it?  It seems odd that these permissions are causing problems.

WSUS is a simple install, as long as the server is fairly default.  If there are IIS changes because you have other sites or because a different Security template was applied to the server then permission could be an issue.

When you corrected the permissions, did you apply them to the subfolders and files too?

Author

Commented:
Hi,

Yes .. applied to subfolders too

There are no other sites configured or changes... I only use this iis for  wsus
CERTIFIED EXPERT
Top Expert 2005

Commented:
This isn't a Domain Controller too is it?

Author

Commented:
Is a domain controller...wsus 2.0 worked properly for months
CERTIFIED EXPERT
Top Expert 2005

Commented:
You can run WSUS from an XP workstation if this server isn't going to behave.

I don't know (without looking at things with my own eyes) what the issue could be on your server.  It really looks like a basic permission issue.

Author

Commented:
Similar software to use?
CERTIFIED EXPERT
Top Expert 2005

Commented:
SMS, but it's fairly complicated and expensive.

BigFix has a solution:  http://www.bigfix.com/products/patchmanagement.php

Here is a good comparison article:  http://www.networkworld.com/reviews/2003/0303patchrev.html

Author

Commented:
ag...

My loved wsus...
CERTIFIED EXPERT
Top Expert 2005

Commented:
I hear you!

Is the WSUS repository on another parition?
Are the correct permissions on that also?

Author

Commented:


Wsus is intalled at H disc. There is a Raid 5 n discs and a 10k rpm sata  called H, here is installed wsus.
CERTIFIED EXPERT
Top Expert 2005

Commented:
Ok, is WSUS installed in a different partition than the WSUS repository - it has to be.

Author

Commented:
ummmm...

When I installed wsus I selected H:\wsus...all wsus is installed here.
CERTIFIED EXPERT
Top Expert 2005

Commented:
OK.

Uninstall it again.
You may need to carve out the Windows Internal DB again with that commandline I gave you earlier.
Reboot the server and make sure there are no errors.

Reinstall WSUS, this time pay attention to where it wants to install it.  Everything EXCEPT the repository should go on C:\.  The repository can go on H:\.

Let me know.

Author

Commented:
and... install all in c:\ and then move datacontent to h:?
CERTIFIED EXPERT
Top Expert 2005

Commented:
No, if you install it correctly you don't have to move anything.

During the installation you will get a screen that shows the location of the program, the DB and the repository (where the updates are stored).  You only want the repository on another drive leave the rest on the default C:\ drive.

Author

Commented:
Ok.... deinstalled... server rebooted...

Installing again...

Author

Commented:
can I install all wsus in c:\wsus.. or is necessary another location?

Author

Commented:
aggggggggggggggggg

installed at c:\wsus all!!!

same error
CERTIFIED EXPERT
Top Expert 2005

Commented:
All is NOT installed on C:

When it shows you the screen where the paths are to all the components, you need to change the Repository (where updates are stored) to H: - the rest stay on C:

Author

Commented:
It[ running...

Computers are synchro... I'll wait for a day to synchro all computers.


Best regards

Author

Commented:
Hi again,


Wsus is working.

I desintalled wsus and deleted all clientws.DLL, then reinstalled and works.

Some clients are 100% but many others are 99% is this  normal?

Best regards
CERTIFIED EXPERT
Top Expert 2005
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Ok...

Then...


I´ll give you the point. You have spent too many time  with this post.

Thanks a lot.... for your help
CERTIFIED EXPERT
Top Expert 2005

Commented:
You're welcome.  I'm glad it's working.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.