Skip to Content

Addon Disconnect Error

May 03 at 05:49 AM


avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Danilo Kasparian 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?

10 |10000 characters needed characters left characters exceeded