If you are testing the Microsoft Application Compatibility Toolkit, you might want to choose the clients wisely. If you are “lazy” and just want to try the agent out and install it on a Windows 7 SP1 machine, you will end up with the .XML files in the “failed”-directory and the following event-log entries:
Error Source: ACUpload EventID:0
ACTUPLOAD: Microsoft.ApplicationExperience.Common.ObjectFramework.PersistenceException: Persistence_FlushSqlError —> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint “Logical_Machine_OS_ForeignKey”. The conflict occurred in database “ACT-Demo”, table “dbo.OS”, column ‘osID’.
The SQL Key here indicated it tried something regarding the OS Key. So a quick look in my file showed this in the 5th line of the XML:
<OsInfo Id=”6.1.1” MacAddress=”…
I manually changed that number to 6.0.0 and the file got imported correctly. The machine was listed as Vista now. Version 6.1.0 is for Windows 7, 6.1.1 is for Windows 7 Sp1, but that’s nor yet in the ACT Database. Nothing serious, just for those of you how didn’t see that coming, like myself

Categories
Tag Cloud
Blog RSS
Comments RSS


Void « Default
Life
Earth
Wind
Water
Fire
Light 