When you receive an error in the runkbot log similar to below, follow the instructions at the end of the error.
I did plenty of searching and didn't find anything so I hope this
will help those who need it in the future.
KInventory Begin capturing Inventory...
KInventory Error: InventoryData AddItem : sqlite3_connection[]: SQL logic error or missing database
...
KInventory Error: InventoryData PostProcess : sqlite3_connection[]: SQL logic error or missing database
KInventory Error: InventoryData GetSession : sqlite3_connection[]: SQL logic error or missing database
KInventory An error was detected in the WMI repository that resulted in missing data for some of the sections.
To repair the WMI repository, you will need to manually run the tool with the -autorepair flag
Resolution:
The Kinventory.db file is corrupted;
to fix you only need to delete it (its located in the same directory you got the runkbot log from)
then do a Kinventory.exe via command line and that should fix it.
If it doesn't fix , then stop the Kace agent service
delete the Kinventory.db file
restart the service
then do a Kinventory.exe -autorepair
-courtesy of Dell Kace Support (Mark G.)
C:\PROGRA~1\Dell\KACE>kinventory.exe -autorepair
KInventory Begin capturing Inventory...
KInventory Could not connect. Error code = 0x8004100e
KInventory InventoryData attempting to open DB file [C:\Documents and Settings
\All Users\Dell\KACE\kinventory.db]
KInventory InventoryData opening DB
KInventory InventoryData calling db.open
KInventory InventoryData opened DB successfully
KInventory InventoryData populated the DB
KInventory An error was detected in the WMI repository that resulted in missin
g data for some of the sections. To repair the WMI repository, you will need to
manually run the tool with the -autorepair flag.
KInventory Inventory Capture completed and stored in C:\WINDOWS\TEMP\inventory
.html
[InventoryArgs.cpp::_parseArgs] SUCCESS
Normally if I just run a WMI repair (as described here: http://windowsxp.mvps.org/repairwmi.htm ) I can resolve WMI issues, but it's not helping this time. Has anyone had this issue? Does anyone have any idea on how to resolve it short of reimaging the PC?
Thank you,
Alicia - awingren 10 years ago