Summary
When importing the ADDM xml inventory into the staging database it fails with the error: ?ERROR: SQL Server database exception (0x80131904): Received an invalid column length from the bcp client for colid 8?Symptoms
When importing the XML inventory from ADDM into the staging database it fails with an output similar to the one below:
======== SoftwareInstanceVirtualMachine Nodes Successfully truncated database table 'SoftwareInstanceVirtualMachine_ci'
-
ERROR: SQL bulk copy failed for table 'SoftwareInstanceVirtualMachine_ci'
-
ERROR: Failed to write imported data into the SQL Server database staging table.
-
ERROR: SQL Server database exception (0x80131904): Received an invalid column length from the bcp client for colid 8.
======== Completed with Failure: 1
Total time before failure: 116.641 seconds
Cause
This is an issue with certain products that have inventory in ADDM returning a list of host containers whereas our adapter schema is only expecting a single host container.
Resolution
The following steps can be used to resolve the issue by updating the ?FNMPADDMSettings.xml?.
-
Take a backup of the current staging database.
-
Take a backup of the ?FNMPADDMSettings.xml?, this will usually reside alongside the FNMPADDMStage.exe file.
-
Modify FNMPADDMSettings.xml and search for the ?SoftwareInstanceVirtualMachine Nodes? mapping.
-
Change the line that says ?#HostContainer:HostContainment:ContainedHost:Host.key AS 'GuestHostKey',? and set it to ?single(#HostContainer:HostContainment:ContainedHost:Host.key) AS 'GuestHostKey',?
-
Perform the import of ADDM inventory into the staging database (any method will do i.e. stream, stage etc).
Additional Information
So far the only products which return a ?list? of hosts are those which we don?t support e.g. VirtualBox and this data will not appear in FNMP even after this fix is applied as FNMP will only import VM data that is a type that we support e.g. VMWare etc.
Related Articles
BMC Discovery import may fail with error if SQL Server database compatibility level is below 130: "Invalid object name 'ST… 7Number of Views Compliance Import fails with the error "Cannot open database "<Databasename>" requested by the login. The login fail… 28Number of Views SendSoftwareBundle inventory import step reading from ILMT SQL Server database may fail with error: "The given value of ty… 4Number of Views ADDM import fails with the error ?Unable to read data from the transport connection: The connection was closed.? 31Number of Views Known Issue: SendSoftwareBundle inventory import step reading from ILMT SQL Server database may fail with error: "The give… 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago