AnsweredAssumed Answered

Get Computed BOM function error

Question asked by 1-AWIBQU on Nov 30, 2009
Latest reply on Dec 7, 2009 by 1-AWIBQU

Hi,

 

I am getting this error from GetComputedBom functions in EPDM API.

 

Access violation exception

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

 

Complete error message -------

System.AccessViolationException was caught
  Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
  Source="Interop.EdmLib"
  StackTrace:
       at EdmLib.IEdmFile7.GetComputedBOM(Object oBomLayoutNameOrID, Int32 lVersionNo, String bsConfiguration, Int32 lEdmBomFlags)    at EPDM_DESIGNLINK_ADDIN.CEPDM.bReadBomFromEdm(FSplash& frmSplash) in C:\Nalin\Visual Studio 2008 Projects\L3COM\DesignLink - Deploy error\VisualDesignLink - L3COM 64bit\EPDM_DESIGNLINK_ADDIN\Ulitily Classes\CEPDM.vb:line 168
  InnerException:

------------------------------------

 

Anybody knows how to fix this one.

 

I dont get this error all the time. For an example i have assembly file that have 5 configurations. GetcomputedBom function doesn't fire this error for 4 of them. But for one of the configurations this one pops up.

 

I am using visual studio 2008 .NET framework 3.5, Visual basic.

 

Please help

 

Thanks

Outcomes