Skip to Content

COMException from LoadFromXML

Ls,

The method LoadFromXML always gives the following internal exceptions

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in BasisProject 2005C.dll

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in BasisProject 2005C.dll

Has anyone seen this?

Regards

Ad

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 10:41 AM

    Firstly Release the Objects which you are using..

    Like FiledsMD, UserFieldsMd,Recordset.. This problem Comes when You does not relaese object and working continously using one object....

    remove these SAPbobsCom and SAPBouiCom dlls and add again... then Rebuild project and use breakpoint to check where this problem is coming...

    i think u will get some help...

    regards

    deepak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 07:29 AM

    hi kerremans,

    Before start to debug your program, once clean your project by-

    Built -> clean solution.

    after run your code, hope it will work fine.

    if not, can u send me the details of exception.. and check proper references are added in your project...

    if satisfied with answer, rewards points.

    regards

    yogesh gupta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 10:11 AM

    hi Ad,

    there is a lot of reason behind these type o error.

    can u send your code as it is difficult to understand the reason behind this.

    regards

    nirdesh panwar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.