By Wayne Brill
If a referenced part file is renamed and AcquireFiles is used to download the parent assembly. (include Children) the assembly and children part files are downloaded but the name of the child part file may not have the new name. Also the ResultDescription may have this error:
“Unknown error was encountered while updating file references"
Here is a screenshot of the Watch window:
When the assembly is opened in Inventor. (It is looking for the ipt with the old name). Using the similar code with Vault 2015 this problem is not occurring.
In this case the problem was caused by older dlls in the SDK after a the vault service pack was installed. When Exceptions were enabled in Visual Studio this exception was displayed. Notice the Version number:
The version of Vault Explorer was 220.127.116.11. (Update 2). The problem was be resolved by uninstalling the Vault API SDK and reinstalling it. (Reference the updated dlls in the SDK bin directory in Visual Studio). The SDK install is here by default:
C:\Program Files\Autodesk\Vault Professional 2014\SDK
Note: Be sure to back up any customization you have done to the SDK samples before uninstalling the SDK.