‎02-16-2016 06:31 PM
Solved! Go to Solution.
‎03-31-2016 12:18 PM
Thank you for the information. We found the following error in your errorlog.txt:
03/29/2016 12:28:37: DEBUG Software: error finding unique key for softwareName=Microsoft Office Professional Plus 2016, softwarePublisher=Microsoft Corporation on asset <ASSETNAME>
The error points to a structural issue with your Lansweeper database, which is preventing new software records from being added. We're not sure what caused the database problem, but could you do the following to resolve the issue:
- Execute the script below in the Lansweeper web console under Configuration\Database Scripts. Copy and paste the code and hit the Execute SQL Code button. Just to be safe, back up your database first by following these instructions. The script will restore some default constraints that appear to be missing from your database.
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblUniqueSoftware_Approved DEFAULT ((0)) FOR Approved
GO
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblUniqueSoftware_OSType DEFAULT ((1)) FOR OSType
GO
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblSoftwareUni_Added DEFAULT (getdate()) FOR Added
GO- Restart the Lansweeper Server service under services.msc
- Rescan the computer by hitting the 'Rescan Asset' button in the left column of the asset web page. Wait for your scanning queue to clear under Configuration\Scanning Queue and refresh the asset web page.
‎03-31-2016 12:18 PM
Thank you for the information. We found the following error in your errorlog.txt:
03/29/2016 12:28:37: DEBUG Software: error finding unique key for softwareName=Microsoft Office Professional Plus 2016, softwarePublisher=Microsoft Corporation on asset <ASSETNAME>
The error points to a structural issue with your Lansweeper database, which is preventing new software records from being added. We're not sure what caused the database problem, but could you do the following to resolve the issue:
- Execute the script below in the Lansweeper web console under Configuration\Database Scripts. Copy and paste the code and hit the Execute SQL Code button. Just to be safe, back up your database first by following these instructions. The script will restore some default constraints that appear to be missing from your database.
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblUniqueSoftware_Approved DEFAULT ((0)) FOR Approved
GO
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblUniqueSoftware_OSType DEFAULT ((1)) FOR OSType
GO
ALTER TABLE tblSoftwareUni ADD CONSTRAINT DF_tblSoftwareUni_Added DEFAULT (getdate()) FOR Added
GO- Restart the Lansweeper Server service under services.msc
- Rescan the computer by hitting the 'Rescan Asset' button in the left column of the asset web page. Wait for your scanning queue to clear under Configuration\Scanning Queue and refresh the asset web page.
‎03-29-2016 06:41 PM
‎03-14-2016 03:34 PM
Could you isolate one problem computer and double-check that:
- The computer has recently and successfully been rescanned. The "last seen" date listed on the computer webpage should be recent.
- The user logged into the computer during the last successful computer scan (i.e. the user listed in the computer's Summary tab) has the software listed in Add/Remove Programs on the client machine. If there are multiple users on the computer and only specific users have the software installed, the software will only be listed in the computer's Software tab if it's installed for the user logged in during the last computer scan.
If the information above doesn't explain the issue, could you:
- Put your scanning service in debug mode by following these instructions.
- Rescan one problem client machine by clicking the Rescan Asset button on the asset page. Wait for the "last seen" date listed on the page to update.
- Send us:
- Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
- Screenshot of the Software tab of the problem client machine's Lansweeper webpage.
- Screenshot of the Scan Time tab of the problem client machine's Lansweeper webpage.
- Screenshot of Add/Remove Programs on the client machine itself.
‎03-07-2016 04:59 PM
‎03-01-2016 01:16 PM
‎02-29-2016 08:15 PM
‎02-21-2016 12:52 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now