Hi,
I am encoutering an issue when trying to move the WSUS database from a local SQL Server to a remote SQL Server. I followed exactely this steps :
http://technet.microsoft.com/en-us/library/dd939918%28v=ws.10%29.aspx
Now, the SUSDB is running on the same server as the WSUS service A SQL Server was already installed. There is a SQL Server instance for WSUS :Server1\WSUSInstance
I want to move that database from Server1 to another server, Server2. This are the steps I followed :
- Stoped IIS Admin Service
- Stoped Windows Update Service
- Connected to Server1\WSUSInstance using SQL Server Management Studio
- Detached SUSDB database
- Copied the database MDF file and log LDF file to the remote server, Server2
- Connected on the remote server, Server2\InstanceName using SQL Server Management Studio
- Attached the SUSDB database and log file
- Checked autorisations --> should be ok
- Changed the following registry keys on the WSUS server (Server1) :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup\SqlServerName = Server2\InstanceName
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup\wYukonInstalled = 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup\SqlInstanceIsRemote = 1
- Started IIS Admin Service
- Started Windows Update Service
- (Restarted the server, because it did not work)
When I connect to the WSUS console, I get a connection issue. I get the following error (in the evenlog, in french) :
La console d'administration WSUS n'a pas été en mesure de se connecter au serveur WSUS par l'intermédiaire de l'API distante. Vérifiez que le service Update Services, les services Internet (IIS) et SQL sont en cours d'exécution sur le serveur. Si le problème persiste, essayez de relancer IIS, SQL et le service Update Services. La console d'administration a rencontré une erreur inattendue. Il peut s'agir d'une erreur passagère. Essayez de relancer la console d'administration. Si l'erreur persiste, essayez de supprimer les préférences conservées de la console en supprimant le fichier wsus sous %appdata%\Microsoft\MMC\. System.IO.IOException -- Échec du protocole de transfert en raison d'un format de paquet inattendu. Source System Stack Trace: à System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) à System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) à System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) à System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) à System.Threading.ExecutionContext.runTryCode(Object userData) à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) à System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) à System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) à System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) à System.Net.ConnectStream.WriteHeaders(Boolean async) ** this exception was nested inside of the following exception ** System.Net.WebException -- La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de l'envoi. Source Microsoft.UpdateServices.Administration Stack Trace: à Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args) à Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber) à Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber) à Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings) à Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer() à Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()
I am pretty sure that it's not a firewall or network issue. I believe that either the WSUS service or IIS cannot find the new SQL Server.
Can you help me to find how to resolve this issue ?
Thank you for your help.
Best regards.
Matteo, .NET Developer and System Engineer