cancel
Showing results for 
Search instead for 
Did you mean: 

Addon Disconnect Error

hziyali
Explorer
0 Kudos
156

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?

View Entire Topic
former_member233854
Active Contributor
0 Kudos

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?