Unable to connect to WSUS 3.0 via MMC console
Hi,
Got this error msg when after reinstalling WSUS 3.0, not sure where the problem lies, IIS or WSUS installation. Your kind advise is most appreciated.
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.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message:
<html>
<head>
<title>Could not load file or assembly 'System.EnterpriseServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size:..7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>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.
<br><br>
<b> Exception Details: </b>System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
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.</code>
</td>
</tr>
</table>
<br>
<b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.<br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. </pre></code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141 System.Reflection.Assembly.Load(String assemblyString) 25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32 [ConfigurationErrorsException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
assemblyName, Boolean starDirective) +590 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +193 System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +187 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +233 System.Web.Compilation.BuildManager.CompileGlobalAsax() +47 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +510 [HttpException (0x80004005): Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +610 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters) +803 [HttpException (0x80004005): Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +940 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +70 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275 </pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
</font>
</body>
</html>
<!--
[FileNotFoundException]: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) [ConfigurationErrorsException]: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. at system.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) at
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) at System.Web.Compilation.BuildManager.CompileGlobalAsax() at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() [HttpException]: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. 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) [HttpException]: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. at System.Web.HttpRuntime.FirstRequestInit(HttpContext context) at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) -->
--.
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at
Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args) at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer() at
Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer() at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState() at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates() at
Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.InitializeNavigationItems() at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()
Re: Unable to connect to WSUS 3.0 via MMC console
Re: Unable to connect to WSUS 3.0 via MMC console
Hi
Tried that, but it still doesn't work. Though i can launch the MMC console, but when i try to connect to WSUS server it still fails. The error message indicates that it cannot connect to the server and states that the server could be using another port of different SSL setting.
Even though during the installation, i have indicate the use port 80 and default web site on the IIS.
Comments?
Re: Unable to connect to WSUS 3.0 via MMC console
Quote:
Tried that, but it still doesn't work. Though i can launch the MMC console, but when i try to connect to WSUS server it still fails. The error message indicates that it cannot connect to the server and states that the server could be using another port of different SSL setting.
Are the remote workstation and the WSUS Server in the same Active Directory domain?
Is the logged on account of the remote workstation a member of the WSUS Administrators local group on the WSUS Server, or a member of the local Administrators group on the WSUS Server, or a member of the Domain Admins group?
Re: Unable to connect to WSUS 3.0 via MMC console
Hockson,
The remote station and server is on the same domain.
On the server's local users and group accounts. server administrator and domain administrator are added into the "\server\administrators" & "\server\wsus administrators" group.
I've run "wsusutil.exe checkhealth" on the server, i noticed that there are some errors under the event viewer. See below
Source: Windows Server Update, Category: Web services and Event ID: 12002 The Reporting Web service is not working.
Source: Windows Server Update, Category: Web services and Event ID: 12012 The API Remoting Web Service is not working.
Source: Windows Server Update, Category: Web services and Event ID: 12032 The Server Synchronization Web Service is not working.
Source: Windows Server Update, Category: Web services and Event ID: 12022 The Client Web service is not working.
Source: Windows Server Update, Category: Web services and Event ID: 12042 The SimpleAuth Web service is not working.
Source: Windows Server Update, Category: Web services and Event ID: 12052 The DSS Authentication Web service is not working.
Apart from this 5 errors, there are also error under ASP.NET 2.0.50727.0 Source, in the category of Web event.
Re: Unable to connect to WSUS 3.0 via MMC console
Great!... but this doesn't answer my question. I *assumed* that the server and domain administrator accounts were properly populated, or you wouldn't be able to access the console from even the WSUS Server itself.
This is an indication that either WSUS Server Setup is looking at the wrong URL to verify these services, or the permissions are incorrect on the virtual server and/or virtual directories indicated.[color=blue]
Incorrect permissions on the API Remoteing Web Service would also impact your ability to access the remote admin console.
A LOT of errors across a LOT of different subsystems.
What's the rest of the story about this server???
Re: Unable to connect to WSUS 3.0 via MMC console
The account on the remote workstation belongs to a domain admins group acct. The account on which was logged onto the server is the domain admin acct. Both these accounts belong to the server local WSUS administrators and also members of local admins group as well.
The server was working fine and until recently when the MMC console had problem trying to connect to the server. Which i've tried to reinstall the WSUS server to attempt to rectify the problem. Unfortunately it does not seems to be so.
If the permission is incorrect, which part i should be looking at permission on the WSUS folder in the Programs folder or the permission of the web directories under the IIS.
Re: Unable to connect to WSUS 3.0 via MMC console
Similar problem. Have deleted the wsus file under %appdata%\Microsoft\MMC\.
Full (potted) history.
Server on a domain. Under domainadmin account, installed WSUS SP1. Used for several months.
Updated to SP2. Everything fine.
Then had to install AD on the server.
Now unable to connect to the update service running on the server. Attempted to uninstall - "Unable to unistall because an error occured". domainadmin account added to WSUS administrators and Reporters - still the same. DNS running on same server.
Appreciate that is is a permissions / security problem, but where ?
Many thanks in advance
Re: Unable to connect to WSUS 3.0 via MMC console
Further information . From the application event log :-
FCB::Open: Operating system error 5(error not found) occurred while creating or opening file 'C:\WINDOWS\SYSMSI\SSEE\MSSQL.2005\MSSQL\DATA\master.mdf'. Diagnose and correct the operating system error, and retry the operation.
and from the system log
A process serving application pool 'WsusPool' terminated unexpectedly. The process id was '4452'. The process exit code was '0xc0000005'.
Re: Unable to connect to WSUS 3.0 via MMC console
It's been a long-known fact and well documented that you cannot run dcpromo on a machine with IIS installed.
The simple solution is to uninstall WSUS, uninstall IIS, reinstall IIS, reinstall WSUS.