ASAP2 Updater Error Message: Could not instantiate DIA-SDK which is needed to load PDB file

Issue:

With CANoe .AMD/XCP 64-bit version 11.0 or newer, the ASAP2 Updater is shipped in a 64-bit version. When you try to use the MAP_FORMAT 54 (Microsoft VC8 Debug File pdb), you may receive the following error message in the ASAP2 Updater log file:

<ERROR> could not instantiate DIA-SDK which is needed to load PDB files. Please install Microsoft’s ‘msdia90.dll’. This library is part of ‘Microsoft Visual C++ 2008 Redistributable Package’

Solution:

Contrary to the error message, you need to install the Microsoft Visual C++ 2010 Redistributable Package in the 64bit version (x64). You can download it from Microsoft:

https://www.microsoft.com/en-US/download/details.aspx?id=14632

Background:

The DIA-SDK is installed with the Redistributable package but only until version 2010. Since CANoe does not need this package, especially not in the 64-bit version, it is not part of the regular setup. Updating A2L files from Microsoft PDB debug files is a very rare use case, as this compiler cannot be used for regular ECU code. For Windows DLLs or programs that implement XCP functionality it is recommended to use the simple MAP file format.



Article ID: 1336
Last updated: 2019-05-27
Revision: 4
ASAP2 Tool-Set -> Updater -> ASAP2 Updater Error Message: Could not instantiate DIA-SDK which is needed to load PDB file
https://kb.vector.com/entry/1336/