heze54
asked on
Wsus+ asp.net error
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?
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)
ASKER
Hi,
Does not works...
I looking for iis application pool service but not found.... which is this service?
Best regards
Does not works...
I looking for iis application pool service but not found.... which is this service?
Best regards
ASKER
HI,
Same error... computers still not reporting to WSUS.
Same error... computers still not reporting to WSUS.
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.
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
ASKER
Hi,
This is the output from a certain domain computer:
Best regards
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 Regedit.
Navigate to HKEY_LOCAL_MACHINE\Microso ft\Windows \CurrentVe rsion\Wind owsUpdate
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.
Navigate to HKEY_LOCAL_MACHINE\Microso
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.
ASKER
Hi,
I use wsus 3 sp1.. this entry SUSclientID is part of old SUS server or wsus?
I use wsus 3 sp1.. this entry SUSclientID is part of old SUS server or wsus?
Both.
ASKER
Hi,
I found 2 of three entries... error in AccounDomainSid.. it wasnt.. created now as a REG_SZ!!
I found 2 of three entries... error in AccounDomainSid.. it wasnt.. created now as a REG_SZ!!
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
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
ASKER
Ok,
Command done but no resutl... Ill wait more time!!!
Same error Event code: 3006 are still shown
Command done but no resutl... Ill wait more time!!!
Same error Event code: 3006 are still shown
Is this code in the Event Viewer?
ASKER
Hi,
Code attached.
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.
Have you tried uninstalling and reinstalling WSUS?
It looks like a permissions error that should have been taken care of with the initial install.
It looks like a permissions error that should have been taken care of with the initial install.
ASKER
Yes... I did and the same error
Go get this tool and run it on the client:
http://download.microsoft.com/download/9/7/6/976d1084-d2fd-45a1-8c27-a467c768d8ef/WSUS%20Client%20Diagnostic%20Tool.EXE
Post the results please.
http://download.microsoft.com/download/9/7/6/976d1084-d2fd-45a1-8c27-a467c768d8ef/WSUS%20Client%20Diagnostic%20Tool.EXE
Post the results please.
ASKER
Hi,
As you can see, the main server is zeus. Erros posted before (apsnet errors) are shown at event viewer-> application.
Best regrads
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
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).
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).
ASKER
Hi,
Proxy bypass for my server... where is configured? have I to configure my gpo?
Proxy bypass for my server... where is configured? have I to configure my gpo?
ASKER
Hi,
If I try to browse into http://zeus.serced.net/clientwebservice/client.asmx
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
ASKER
Hi,
Any information?
Any information?
ASKER
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?
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?
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-D E6C4F6AA8F B} 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
1) Uninstall WSUS.
2) Uninstall the Windows Internal Database - use this method:
msiexec /x {CEB5780F-1A70-44A9-850F-D
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
ASKER
Hi,
Any other program like wsus?
Any other program like wsus?
ASKER
Hi,
Any other program like wsus?
Best regards
Any other program like wsus?
Best regards
Not really.
Have you followed the last instructions I posted?
Have you followed the last instructions I posted?
ASKER
Yes... and when I was reinstalling wsus... the software crashed
agggggggggggggggggggg jajaja
agggggggggggggggggggg jajaja
What were the errors?
ASKER
Hi...
2nd attemp... OK.
2nd attemp... OK.
ASKER
Hi,
After installation, install ok, synchro ok.. same error asp.net.....
What can I do?
Best regards
After installation, install ok, synchro ok.. same error asp.net.....
What can I do?
Best regards
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.
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.
ASKER
what link?
ASKER
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
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
Did you reboot the server after these changes?
ASKER
Hi,
Yes... after server rebooted, I rebooted domain computers.
Same error at wsus server
Yes... after server rebooted, I rebooted domain computers.
Same error at wsus server
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?
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?
ASKER
Hi,
Yes .. applied to subfolders too
There are no other sites configured or changes... I only use this iis for wsus
Yes .. applied to subfolders too
There are no other sites configured or changes... I only use this iis for wsus
This isn't a Domain Controller too is it?
ASKER
Is a domain controller...wsus 2.0 worked properly for months
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.
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.
ASKER
Similar software to use?
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
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
ASKER
ag...
My loved wsus...
My loved wsus...
I hear you!
Is the WSUS repository on another parition?
Are the correct permissions on that also?
Is the WSUS repository on another parition?
Are the correct permissions on that also?
ASKER
Wsus is intalled at H disc. There is a Raid 5 n discs and a 10k rpm sata called H, here is installed wsus.
Ok, is WSUS installed in a different partition than the WSUS repository - it has to be.
ASKER
ummmm...
When I installed wsus I selected H:\wsus...all wsus is installed here.
When I installed wsus I selected H:\wsus...all wsus is installed here.
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.
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.
ASKER
and... install all in c:\ and then move datacontent to h:?
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.
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.
ASKER
Ok.... deinstalled... server rebooted...
Installing again...
Installing again...
ASKER
can I install all wsus in c:\wsus.. or is necessary another location?
ASKER
aggggggggggggggggg
installed at c:\wsus all!!!
same error
installed at c:\wsus all!!!
same error
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:
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:
ASKER
It[ running...
Computers are synchro... I'll wait for a day to synchro all computers.
Best regards
Computers are synchro... I'll wait for a day to synchro all computers.
Best regards
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok...
Then...
I´ll give you the point. You have spent too many time with this post.
Thanks a lot.... for your help
Then...
I´ll give you the point. You have spent too many time with this post.
Thanks a lot.... for your help
You're welcome. I'm glad it's working.
C:\Windows\Microsoft.NET\F
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.