Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 3 out of 5     Rate this Document

Error -1074130432: "The specified configuration store file could not be deserialized"

Primary Software: Instrument Drivers/IVI>>IVI Engine Package
Primary Software Version: 2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am developing an application which relies on calls to IVI libraries, or running programs which do, and am receiving the following error message.

Error -1074130432: "The specified configuration store file could not be deserialized" 

What is causing this error?

Solution:
There are a few primary causes to this error: a programming mistake, insufficient access to read and write to the IVI configuration files, or an improperly installed XML parser.

Case 1
Make sure to call IviConfig_DisposeHandle() for each handle that you get back when using the API. It is not just sufficient to call IviConfig_Close as this will not close all the handles that are created.

For example, if you call IviConfig_GetDriverSession (), you get a IviDriverSessionHandle* back. You must call IviConfig_DisposeHandle() on this IviDriverSessionHandle handle, otherwise there will be a leak.

Case 2
The XML Parser that comes with the IVI Compliance Package may have been improperly installed or corrupted.  This can normally be corrected by re-registering the msxml4.dll.  You might want to install the most current update of the IVI Compliance Package found at our Drivers and Updates page, which will automatically register this DLL.  You can register the DLL manually by going to Start»Run and type in "regsvr32 msxml4.dll" (without the quotes). 

Case 3
Insufficient access is due to having insufficient privileges to the IVI directory on your system. You will either need to log onto your computer as an administrator, or should be granted read/write access to this location (installed by default to C:\Program Files\IVI\ on Windows systems).
As an additional note, in order for them to perform properly, other NI applications also require read/write access. Therefore a developer using NI software should be granted access to the entire National Instruments directory (often installed in C:\Program Files\ as well).

Note: There have been a few cases where the user has taken all the above measures, and is still unable to resolve the error.  This may be an issue with the computer itself, and can be corrected with a System Restore.  You might also check the Microsoft Help and Support page linked below for an XML Parser update.




Related Links:
KnowledgeBase 2D6CK3QS: MAX Problems When Not Logged in as an Administrator under Windows 2000
External Link: Security update for Microsoft XML Core Services 6.0

Attachments:





Report Date: 03/22/2005
Last Updated: 12/22/2008
Document ID: 3JL6JQSF

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit