Hello,
I’m trying to move my Ivanti console from one server (W2K8R2 STD) to another server (W2K16STD) but I always get the same error : Object reference not set to an instance of an object
Steps I did :
- Attached/detached my DB from SQL2005 to SQL2016 - SP1 – CU5 (13.0.4451.0)
- Changed the DB location with “Database setup tool” to this new SQL server
on the old server : (UserID with Admin rights on the server)
- Upgrade my Shavlik console from 9.1.xxx to IvantiPatchForServers_9.3.4510
- Backup Core settings
- Backup User settings
on the new server : (The same userid)
- Installed IvantiPatchForServers_9.3.4510
- The installation also installed SQL Express
- Created a local DB for the new installation of Ivanti Console
- Copied the Backup files from the old server to the new server
- Tried to Restore the Core settings but it always fails with the same error
This is the output of the logfiles located at C:\ProgramData\LANDESK\Shavlik Protect\Logs
- ST.Backup.Protect.UI.managed.[username]@[domain].log
2017-12-15T10:20:09.8032504Z
0001 I Program.cs:49|'D:\Program Files\LANDESK\Shavlik
Protect\ST.Backup.Protect.UI.exe' is starting, version: 9.3.4510.0, full name:
ST.Backup.Protect.UI, Version=9.3.0.0, Culture=neutral,
PublicKeyToken=19306d7375e33918.
2017-12-15T10:20:35.7350073Z
0001 I Database.cs:70|Starting restore of the database.
2017-12-15T10:20:35.8600074Z
0006 I Credentials.cs:167|Starting deletion of invalid credentials.
2017-12-15T10:20:35.8912586Z
0005 I Credentials.cs:184|Finished deletion of invalid credentials.
2017-12-15T10:20:35.9068835Z
0005 I Credentials.cs:258|Starting restore of user credentials.
2017-12-15T10:20:35.9225083Z
0005 I Credentials.cs:274|Finished restore of '0' user credentials.
2017-12-15T10:20:36.0318846Z
0001 E MainForm.cs:414|System.NullReferenceException: Object reference not set
to an instance of an object.
at
ST.Core.Net.ProxyCredentials.InitGlobalProxy(ProxyCredentials proxyCredentials)
at
ST.BusinessObjects.FileDownload.ProxyConfiguration.<SafeConfigureAsync>d__2.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Backup.Protect.RestoreWorkflow.<RunInternalAsync>d__2.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Backup.Protect.NTService.<RunWithStoppedAsync>d__4`1.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Backup.Protect.UI.MainForm.<RestoreAsync>d__24.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Backup.Protect.UI.MainForm.<RunRestoreInternalAsync>d__26.MoveNext()
- ST.DatabaseConfiguration.log
2017-12-15T10:19:32.0039302Z
0001 I Program.cs:212|'D:\Program Files\LANDESK\Shavlik
Protect\ST.DatabaseConfiguration.exe' is starting, version: 9.3.4510.0, full
name: ST.DatabaseConfiguration, Version=9.3.0.0, Culture=neutral,
PublicKeyToken=19306d7375e33918.
2017-12-15T10:19:32.0195551Z
0001 I Program.cs:238|Database installation wizard started.
2017-12-15T10:19:32.5664347Z
0001 S Program.cs:147|InstallInteractive|Entering.
2017-12-15T10:19:39.3477731Z
0001 S
InstallWizard.OnTransitionAwayHandlers.cs:16|PrepareConfigureSqlState|Entering.
2017-12-15T10:19:39.3946194Z
0001 S
InstallWizard.OnTransitionAwayHandlers.cs:16|PrepareConfigureSqlState|Leaving.
2017-12-15T10:19:44.6603745Z
0001 S InstallWizard.TransitionGuardHandlers.cs:43|GetDatabaseConnectionState|Entering.
2017-12-15T10:19:44.8634994Z
0001 S ConnectionValidator.cs:268|QueryConnectionState|Entering.
2017-12-15T10:19:44.8791260Z
0001 S ConnectionValidator.cs:268|QueryConnectionState|Leaving.
2017-12-15T10:19:44.8791260Z
0001 S SqlPrincipalManager.cs:420|QueryNameBySid|Entering.
2017-12-15T10:19:44.8791260Z
0001 S SqlPrincipalManager.cs:420|QueryNameBySid|Leaving.
2017-12-15T10:19:44.8947507Z
0001 S PermissionManager.cs:165|HasPermission|Entering.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Leaving.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Entering.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Leaving.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Entering.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Leaving.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Entering.
2017-12-15T10:19:44.9416268Z
0001 S PermissionManager.cs:165|HasPermission|Leaving.
2017-12-15T10:19:44.9572508Z
0001 S PermissionManager.cs:165|HasPermission|Entering.
2017-12-15T10:19:44.9572508Z
0001 S PermissionManager.cs:165|HasPermission|Leaving.
2017-12-15T10:19:44.9572508Z
0001 S RoleManager.cs:32|IsInRole|Entering.
2017-12-15T10:19:44.9572508Z
0001 S RoleManager.cs:270|IsInRole|Entering.
2017-12-15T10:19:44.9572508Z
0001 S RoleManager.cs:270|IsInRole|Leaving.
2017-12-15T10:19:44.9572508Z
0001 S RoleManager.cs:32|IsInRole|Leaving.
2017-12-15T10:19:44.9728759Z
0001 S
InstallWizard.TransitionGuardHandlers.cs:43|GetDatabaseConnectionState|Leaving.
2017-12-15T10:19:44.9728759Z
0001 S SqlPrincipalManager.cs:420|QueryNameBySid|Entering.
2017-12-15T10:19:44.9728759Z
0001 S SqlPrincipalManager.cs:420|QueryNameBySid|Leaving.
2017-12-15T10:19:45.0510019Z
0004 S DatabaseInstallerController.cs:237|ExecuteInstallAsync|Entering.
2017-12-15T10:19:45.0822517Z
0004 S DatabaseInstaller.cs:158|InstallAsync|Entering.
2017-12-15T10:19:45.0822517Z
0004 S DatabaseInstaller.cs:298|GetIntelligentTimeoutAsync|Entering.
2017-12-15T10:19:45.0822517Z
0004 S DatabaseInstaller.cs:298|GetIntelligentTimeoutAsync|Leaving.
2017-12-15T10:19:45.1291272Z
0005 I DatabaseInstaller.cs:365|Commit started.
2017-12-15T10:19:45.1447528Z
0004 I DatabaseInstaller.cs:412|(1000201) Linking console
2017-12-15T10:19:45.1603771Z
0005 I DatabaseInstaller.cs:377|Console linked to existing database.
2017-12-15T10:19:45.1603771Z
0005 I DatabaseInstaller.cs:1096|Completed install transaction scope.
2017-12-15T10:19:45.1603771Z
0005 S DatabaseInstaller.cs:937|SetupRoleUsersAsync|Entering.
2017-12-15T10:19:45.1603771Z
0005 I DatabaseInstaller.cs:441|Changed database context to 'Protect'.
2017-12-15T10:19:45.1760023Z
0005 S SqlPrincipalManager.cs:212|GetCreateServiceAccountLogin|Entering.
2017-12-15T10:19:45.1760023Z
0005 S SqlPrincipalManager.cs:326|GetCreateAccountLogin|Entering.
2017-12-15T10:19:45.1760023Z
0005 S SqlPrincipalManager.cs:326|GetCreateAccountLogin|Leaving.
2017-12-15T10:19:45.1760023Z
0005 S SqlPrincipalManager.cs:212|GetCreateServiceAccountLogin|Leaving.
2017-12-15T10:19:45.1916275Z
0005 S RoleManager.cs:309|IsInRoleAsync|Entering.
2017-12-15T10:19:45.1916275Z
0004 S RoleManager.cs:309|IsInRoleAsync|Leaving.
2017-12-15T10:19:45.1916275Z
0004 S DatabaseInstaller.cs:937|SetupRoleUsersAsync|Leaving.
2017-12-15T10:19:45.1916275Z
0004 S RoleManager.cs:211|CleanupDbExecutorRoleAsync|Entering.
2017-12-15T10:19:45.1916275Z
0004 I RoleManager.cs:219|Removing db_executor role.
2017-12-15T10:19:45.3166285Z
0005 S RoleManager.cs:211|CleanupDbExecutorRoleAsync|Leaving.
2017-12-15T10:19:45.3166285Z
0005 S DatabaseInstaller.cs:158|InstallAsync|Leaving.
2017-12-15T10:19:45.3166285Z
0005 S DatabaseInstallerController.cs:237|ExecuteInstallAsync|Leaving.
2017-12-15T10:19:48.5298254Z
0001 S Program.cs:147|InstallInteractive|Leaving.
2017-12-15T10:19:48.5298254Z
0001 I Program.cs:277|Database installation complete.
- ST.Protect.managed.[Username]@[domain].log
2017-12-15T10:19:51.7651871Z
0001 C Launcher.cs:87|System.InvalidOperationException: Crash from UI thread
---> System.InvalidOperationException: Crash from UI thread --->
System.NullReferenceException: Object reference not set to an instance of an object.
at
ST.Core.Net.ProxyCredentials.InitGlobalProxy(ProxyCredentials proxyCredentials)
at
ST.BusinessObjects.FileDownload.ProxyConfiguration.<ConfigureAsync>d__1.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Protect.Forms.ConsoleStateExaminer.<RunChecksThatCauseApplicationExitAsync>d__13.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Protect.Forms.ConsoleStateExaminer.<IsStateValidAsync>d__0.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Protect.Forms.Main.Splash.<OnShownAsync>d__6.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Protect.Forms.Main.Splash.<TaskFormShown>d__9.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of inner exception stack trace ---
at
ST.Protect.Launcher.TerminateFromThreadException(Exception exception)
at ST.Protect.Launcher.ApplicationThreadException(Object
sender, ThreadExceptionEventArgs e)
at
System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at
System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at
System.Windows.Forms.Control.WndProc(Message& m)
at
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
--- End of inner exception stack trace ---
at
ST.Protect.Launcher.TerminateFromThreadException(Exception exception)
at ST.Protect.Launcher.ApplicationThreadException(Object
sender, ThreadExceptionEventArgs e)
at
System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at
System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at
System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at ST.Protect.Launcher.ExecuteMain()
at ST.Protect.Launcher.ExecuteInMutex(Action
action, String mutexName)
at ST.Protect.Launcher.Main(String[] args)
2017-12-15T10:19:51.7808124Z
0001 W Licensing.cs:400|No capability for 17170444
2017-12-15T10:19:51.7808124Z
0001 W Licensing.cs:400|No capability for 17170444
- ST.ServiceHost.managed.log
2017-12-15T10:19:47.8110702Z
2414 I Host.cs:89|Service 'Host' is stopping.
2017-12-15T10:19:47.8423209Z
0006 I ComponentManager.cs:367|Component 'ResultsReceiver' shutdown.
2017-12-15T10:19:47.8423209Z
0006 I ComponentManager.cs:367|Component 'Messaging' shutdown.
2017-12-15T10:19:47.8891952Z
2415 I ComponentManager.cs:367|Component 'Scheduler' shutdown.
2017-12-15T10:19:48.1391970Z
0001 I Program.cs:41|'D:\Program Files\LANDESK\Shavlik
Protect\ST.ServiceHost.exe' is starting, version: 9.3.2666.0, full name:
ST.ServiceHost, Version=9.3.0.0, Culture=neutral,
PublicKeyToken=19306d7375e33918.
2017-12-15T10:19:48.1860722Z
0004 I Host.cs:75|Service 'Host' is starting.
2017-12-15T10:19:48.2329482Z
0004 I ComponentManager.cs:321|Component 'Administration' loaded.
2017-12-15T10:19:48.2329482Z
0005 I ComponentManager.cs:321|Component 'AgentDeployment' loaded.
2017-12-15T10:19:48.2641984Z
0004 I ComponentManager.cs:321|Component 'AgentSupport' loaded.
2017-12-15T10:19:48.2641984Z
0005 I ComponentManager.cs:321|Component 'CloudSynchronization' loaded.
2017-12-15T10:19:48.2641984Z
0004 I ComponentManager.cs:321|Component 'Credentials' loaded.
2017-12-15T10:19:48.2798221Z
0005 I ComponentManager.cs:321|Component 'EngineOrchestrator' loaded.
2017-12-15T10:19:48.2798221Z
0005 I ComponentManager.cs:321|Component 'PowerShellEngine' loaded.
2017-12-15T10:19:48.2954485Z
0004 I ComponentManager.cs:321|Component 'Exporter' loaded.
2017-12-15T10:19:48.3110723Z
0004 I ComponentManager.cs:321|Component 'Messaging' loaded.
2017-12-15T10:19:48.3110723Z
0005 I ComponentManager.cs:321|Component 'ResultQueueMonitor' loaded.
2017-12-15T10:19:48.3110723Z
0004 I ComponentManager.cs:321|Component 'ResultsReceiver' loaded.
2017-12-15T10:19:48.3266980Z
0005 I ComponentManager.cs:321|Component 'STS' loaded.
2017-12-15T10:19:48.3266980Z
0005 I ComponentManager.cs:321|Component 'Synchronization' loaded.
2017-12-15T10:19:48.3266980Z
0005 I ComponentManager.cs:321|Component 'Tracker' loaded.
2017-12-15T10:19:48.3266980Z
0005 I ComponentManager.cs:321|Component 'VirtualDeployment' loaded.
2017-12-15T10:19:48.3266980Z
0004 I ComponentManager.cs:321|Component 'Scheduler' loaded.
2017-12-15T10:19:48.5767001Z
0006 I ComponentManager.cs:437|Component 'Scheduler' started.
2017-12-15T10:19:48.5767001Z
0005 I ComponentManager.cs:437|Component 'Messaging' started.
2017-12-15T10:19:48.6704528Z
0007 I ComponentManager.cs:437|Component 'ResultsReceiver' started.
2017-12-15T10:19:48.8735770Z
0005 E ComponentManager.cs:396|Component 'Administration' failed to start.:
System.NullReferenceException: Object reference not set to an instance of an
object.
at
ST.Core.Net.ProxyCredentials.InitGlobalProxy(ProxyCredentials proxyCredentials)
at
ST.BusinessObjects.FileDownload.ProxyConfiguration.<SafeConfigureAsync>d__2.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at ST.Services.Administration.AdministrationServiceComponent.<StartAsync>d__3.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Host.ComponentManager.<StartComponentAsync>d__21.MoveNext()
2017-12-15T10:20:35.3756307Z
0010 I Host.cs:89|Service 'Host' is stopping.
2017-12-15T10:20:35.3912549Z
0007 I ComponentManager.cs:367|Component 'ResultsReceiver' shutdown.
2017-12-15T10:20:35.3912549Z
0007 I ComponentManager.cs:367|Component 'Messaging' shutdown.
2017-12-15T10:20:35.4068806Z
0011 I ComponentManager.cs:367|Component 'Scheduler' shutdown.
2017-12-15T10:20:36.0006346Z
0001 I Program.cs:41|'D:\Program Files\LANDESK\Shavlik
Protect\ST.ServiceHost.exe' is starting, version: 9.3.2666.0, full name:
ST.ServiceHost, Version=9.3.0.0, Culture=neutral,
PublicKeyToken=19306d7375e33918.
2017-12-15T10:20:36.0318846Z
0004 I Host.cs:75|Service 'Host' is starting.
2017-12-15T10:20:36.0475096Z
0004 I ComponentManager.cs:321|Component 'Administration' loaded.
2017-12-15T10:20:36.0475096Z
0005 I ComponentManager.cs:321|Component 'AgentDeployment' loaded.
2017-12-15T10:20:36.0475096Z
0004 I ComponentManager.cs:321|Component 'AgentSupport' loaded.
2017-12-15T10:20:36.0475096Z
0004 I ComponentManager.cs:321|Component 'Credentials' loaded.
2017-12-15T10:20:36.0475096Z
0005 I ComponentManager.cs:321|Component 'CloudSynchronization' loaded.
2017-12-15T10:20:36.0475096Z
0005 I ComponentManager.cs:321|Component 'Messaging' loaded.
2017-12-15T10:20:36.0475096Z
0004 I ComponentManager.cs:321|Component 'EngineOrchestrator' loaded.
2017-12-15T10:20:36.0475096Z
0005 I ComponentManager.cs:321|Component 'PowerShellEngine' loaded.
2017-12-15T10:20:36.0475096Z
0004 I ComponentManager.cs:321|Component 'Exporter' loaded.
2017-12-15T10:20:36.0631349Z
0005 I ComponentManager.cs:321|Component 'ResultQueueMonitor' loaded.
2017-12-15T10:20:36.0631349Z
0004 I ComponentManager.cs:321|Component 'ResultsReceiver' loaded.
2017-12-15T10:20:36.0631349Z
0005 I ComponentManager.cs:321|Component 'STS' loaded.
2017-12-15T10:20:36.0631349Z
0005 I ComponentManager.cs:321|Component 'Synchronization' loaded.
2017-12-15T10:20:36.0631349Z
0005 I ComponentManager.cs:321|Component 'Tracker' loaded.
2017-12-15T10:20:36.0631349Z
0005 I ComponentManager.cs:321|Component 'VirtualDeployment' loaded.
2017-12-15T10:20:36.0631349Z
0004 I ComponentManager.cs:321|Component 'Scheduler' loaded.
2017-12-15T10:20:36.1725103Z
0006 I ComponentManager.cs:437|Component 'Scheduler' started.
2017-12-15T10:20:36.1881361Z
0006 I ComponentManager.cs:437|Component 'Messaging' started.
2017-12-15T10:20:36.2193855Z
0006 I ComponentManager.cs:437|Component 'ResultsReceiver' started.
2017-12-15T10:20:36.3131354Z
0005 E ComponentManager.cs:396|Component 'Administration' failed to start.:
System.NullReferenceException: Object reference not set to an instance of an
object.
at
ST.Core.Net.ProxyCredentials.InitGlobalProxy(ProxyCredentials proxyCredentials)
at
ST.BusinessObjects.FileDownload.ProxyConfiguration.<SafeConfigureAsync>d__2.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Services.Administration.AdministrationServiceComponent.<StartAsync>d__3.MoveNext()
--- End of
stack trace from previous location where exception was thrown ---
at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ST.Host.ComponentManager.<StartComponentAsync>d__21.MoveNext()