Database Change Management
Database Change Management
Home | Profile | Register | Active Topics | Active Polls | Members | Private Messages | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?




 All Forums
 Support
 DB Ghost Support Forum
 Object Reference Error
 New Topic  New Poll New Poll
 Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

tyron


3 Posts

Posted - 06/06/2018 :  01:34:28  Show Profile Send tyron a Private Message  Reply with Quote
Hi we are getting an object reference error on some of our machines, these are all images of the same system but the error only seems to occur on a small subset. are there any extra debug flags we can add to get more information?


2018-06-04 03:26:04,201 [1] DEBUG UpdateCompanionService.UpdateCompanion [(null)] - Creating database update file C:\Windows\TEMP\company-database-list.xml
2018-06-04 03:26:04,201 [1] DEBUG UpdateCompanionService.UpdateCompanion [(null)] - ***DATABASE_NAME***
2018-06-04 03:26:07,060 [1] DEBUG UpdateCompanionService.UpdateCompanion [(null)] - Running update [C:\Program Files\***\UpdateStaging\CompanyDB.exe /mode:upgrade /server:.\SQLExpress2008r2 /targetlist:"C:\Windows\TEMP\company-database-list.xml" /username:sa /password:*** /silent]
2018-06-04 03:26:07,060 [1] DEBUG UpdateCompanionService.UpdateCompanion [(null)] - ***DATABASE_NAME***
2018-06-04 03:26:25,474 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] -
2018-06-04 03:26:25,826 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:25 AM...****************************************
2018-06-04 03:26:25,826 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:25 AM...Running (CompanyDB) version 1.0.0.13
2018-06-04 03:26:25,826 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:25 AM...Using (Innovartis.DBGhost.CompAndSyncAPI) version 5.1.0.103
2018-06-04 03:26:25,826 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:25 AM...
2018-06-04 03:26:25,881 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:25 AM...Start creating a temp source database like the target...
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:29 AM...Error: Object reference not set to an instance of an object.
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - Stack:
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Installer.Create2005DatabasedFromTargetModel()
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Installer.CreateSourceDatabaseFromTarget()
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Installer.CreateThePackagedDatabase()
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Program.RunWithNoGUI(Installer installerInstance)
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Program.Run(Installer installerInstance)
2018-06-04 03:26:29,834 [24] ERROR UpdateCompanionService.UpdateCompanion [(null)] - at CompanyDB.Program.Main(String[] args)
2018-06-04 03:26:29,849 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - 4/06/2018 3:26:29 AM...Execution failed
2018-06-04 03:26:29,849 [22] INFO UpdateCompanionService.UpdateCompanion [(null)] - -2

Google AdSense

USA
Mountain View


dbghost



68 Posts

Posted - 06/06/2018 :  05:21:29  Show Profile  Visit dbghost's Homepage Send dbghost a Private Message  Reply with Quote
A SQL profiler trace on SQLExpress2008r2 might help find the issue. I might be able to guess something from the SQL statements that the process had run.
Are all your servers express edition?
What version of PackagerPlus are you using (it looks quite old from the log format)?
Go to Top of Page

dbghost



68 Posts

Posted - 06/06/2018 :  05:28:09  Show Profile  Visit dbghost's Homepage Send dbghost a Private Message  Reply with Quote
Also what is your first entry in the targets list?

If this only happens on some of your servers then you would naturally suspect something different about those servers. You said they were all from the same image. So nothing different about the SQL Server installations?

Case sensitivity, security etc?
Go to Top of Page
   Topic Next Topic  
 New Topic  New Poll New Poll
 Reply to Topic
 Printer Friendly
Jump To:
Database Change Management © Copyright 2005 Innovartis Ltd. Go To Top Of Page
Snitz Forums 2000
RSS Feed 1 RSS Feed 2
Powered by ForumCo 2000-2008
TOS - AUP - URA - Privacy Policy
ForumCo Free Blogs and Galleries
Signup for a free forum or Go Banner Free