7 Replies Latest reply on Jan 3, 2018 10:48 AM by cwinning

    Object reference not set to an instance of an object

    Dot Rookie

      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


      Object reference not set to an instance of an object.jpg

       

      This is the output of the logfiles located at C:\ProgramData\LANDESK\Shavlik Protect\Logs

       

      1. 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()

       

      1. 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.

       

      1. 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

       

       

      1. 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()

        • 1. Re: Object reference not set to an instance of an object
          cwinning CommunityTeam

          Hello,

           

          Thank you for the question, sorry to see you are having issues. I unfortunately don't have enough information in the log snippets.  I need all of the logs from C:\ProgramData\LANDESK\Shavlik Protect\Logs.  Could you attach them to this thread? If not, could you open a case and reference this thread?

           

          Best regards,

          Charles

          • 2. Re: Object reference not set to an instance of an object
            Dot Rookie

            Hi Cwinning,

             

            I attached the files

             

            Best Regards

            • 3. Re: Object reference not set to an instance of an object
              cwinning CommunityTeam

              Hello,

               

              OK, looking at them now, I will post an update as soon as I have one.

               

              Thank you,

              Charles

              • 4. Re: Object reference not set to an instance of an object
                Dot Rookie

                Hello,

                 

                I've tried to install a clean console on another W2K16 server.
                This worked like a charm. I can open the console and see an empty DB.

                 

                On the server where I should move to, the console doesn't open.

                 

                It gives me an unexpected stop error :

                 

                Faulting application name: ST.Protect.exe, version: 9.3.4510.0, time stamp: 0x59cbbb1f
                Faulting module name: KERNELBASE.dll, version: 10.0.14393.1715, time stamp: 0x59b0d106
                Exception code: 0xe0434352
                Fault offset: 0x0000000000033c58
                Faulting process id: 0xd44
                Faulting application start time: 0x01d38492e46d7555
                Faulting application path: D:\Program Files\LANDESK\Shavlik Protect\ST.Protect.exe
                Faulting module path: C:\windows\System32\KERNELBASE.dll
                Report Id: 89e2c949-716f-4021-acc3-224e923b516f
                Faulting package full name:
                Faulting package-relative application ID:

                 

                Is there a document to completely uninstall IvantiPatchForServers_9.3.4510 ? (registry keys, directories, ...)

                So I can retry from the beginning ?

                 

                Kind Regards

                • 5. Re: Object reference not set to an instance of an object
                  Dot Rookie

                  This is the error I get when I try to open Ivanti Patch for Windows

                  • 6. Re: Object reference not set to an instance of an object
                    cwinning CommunityTeam

                    Hello,

                     

                    There are old documents on this community for previous versions, this contains information of 9.3:  Install - Uninstall Failures - How To Clean Up Broken Installs Of Shavlik Protect With The Microsoft Fixit Tool

                     

                    The crash error without the logs isn't going to help pinpoint the cause of the error you are seeing.  I would suggest a simple uninstall, at install either create a new database or over-write your current database. Manually removing registry keys and folders/files are only needed for extreme edge cases.  You may want to consider opening a case on this so a tech can take a look over a WebEx.

                     

                    Thanks,

                    Charles

                    • 7. Re: Object reference not set to an instance of an object
                      cwinning CommunityTeam

                      Hello,

                       

                      Moreover, I see some evidence of .Net corruption. It will take some work to verify this though since we need All tracing enabled, which has to be done though config files since the Protect UI will not start.

                       

                      After enabling All tracing, if you see “Not using credentials” in the log, then .NET is corrupted, because we are trying to set the .NET WebRequest default credentials to null (WebRequest.DefaultWebProxy.Credentials = null;).

                      In this case you should reinstall / repair .NET4.6.2.  (you could jump straight to this)

                      Make sure it is full installation not just client.

                       

                      To enable All logging:

                       

                      1. Navigate to C:\Program Files\LANDESK\Shavlik Protect

                      2. Backup these config files:

                      • ST.Backup.Protect.UI.exe.config
                      • ST.Protect.exe.config

                      3. Open each one and changethe logging level from Information, ActivityTracing to ALL

                       

                      Change from:

                      ST.Backup.Protect.UI.exe.config:

                      <add name="STBackupProtectUISwitch" value="Information, ActivityTracing" />

                       

                      ST.Protect.exe.config

                      <add name="STProtectSwitch" value="Information, ActivityTracing" />

                       

                      Change to :

                      ST.Backup.Protect.UI.exe.config:

                      <add name="STBackupProtectUISwitch" value=" All" />

                       

                      ST.Protect.exe.config

                      <add name="STProtectSwitch" value=" All" />

                       

                      Reproduce the problem, and attach the logs.

                       

                      After enabling All tracing, if you see “Not using credentials” in the log, then .NET is corrupted, because we are trying to set the .NET WebRequest default credentials to null (WebRequest.DefaultWebProxy.Credentials = null;).They should uninstall / fix their .NET4.6.2. Make sure it is full installation not just client.

                       

                      Thanks,

                      Charles