Hi,
I am creating a session on my .Net console app. The session is to connect to Sage 300 accpac.
However my session.Open methed catches an empty exception.
session.Open(dsDepotSettings.Tables[0].Rows[counterC]["ACCPACUSERNAME"].ToString(), dsDepotSettings.Tables[0].Rows[counterC]["ACCPACPASSWORD"].ToString(), dsDepotSettings.Tables[0].Rows[counterC]["CODE"].ToString(), System.DateTime.Now, 0);
Any Idea why the method catches an empty exeption?
Regards
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Pranam BhatRank #500 · 4.9K reputationPosted Mar 24, 2021, 11:27 PM EDT
Keorapetsi MatsemeRank #5,816 · 285 reputationPosted Mar 25, 2021, 4:51 AM EDT