SetVar Method (IEdmEnumeratorVariable5) throws: The file-format plugin cannot handle this file because there is a component missing.

Hello,

   When my program calls the SetVar Method (IEdmEnumeratorVariable5) method I get the exception:

{"The file-format plugin cannot handle this file because there is a component missing."}

I have the file checked out.  I can update the variable on the data card manually, save data card and check in just fine.

File type is Solid Edge file.  I checked registry and the file types are there:

Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\SolidWorks\\Applications\\PDMWorks Enterprise\\FileFormats\\.par

When it runs on solidworks files all is well, the variable is updated and checks in nicely with informative comment.

I recall running into this before but I cannot recall how I fixed it.

Thank you.

SolidworksApi/macros