Skip to Content

Addon Disconnect Error

I am writing an addon but I faced Addon Disconnect error. As I see, it is because using connection without DI API. Is it mandotary to use DI API for connection? I couldn't find objects for some tables such as ORCM, so I used C# SqlConnection. How can I handle with this problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 03 at 12:55 PM

    There is no problem to use a SQL Connection as long as you don`t do any operations in the database except for SELECT Queries, you can read the database without any problem.

    The add-on must not crash because your SQLConnection. Probably there is something else crashing your add-on. Could you identify the exactly line of your code that is crashing? Could you share with us?

    Add comment
    10|10000 characters needed characters exceeded