Error Occurred While Opening ODBC Connection on Sage 300 Application using C#

  • Thread starter Thread starter Phani Edara
  • Start date Start date
P

Phani Edara

Guest
ERROR [08001] [Simba][SimbaEngine ODBC Driver][DRM File Library]Invalid account name.ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failedERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).


Facing the above error While Connecting to Sage application using ODBC.

The above exception thrown at while opening the connection as shown below.

using (OdbcConnection connection = new OdbcConnection("dsn=somedsn;uid=sage;pwd=sage"))
{
connection.Open(); //Exception thrown here
// More code here

}


I have used Visual Studio 2017 to build and debug the c# application in Windows 10. Can anybody help me on this?

Continue reading...
 
Back
Top