Skip to Content
Apr 26, 2017 at 06:46 PM

About errors in SQL Anywhere 17 OEM


I do not know why encryption errors are occurring.
I write down the condition below.
Please help me!

Development : Win7 Pro
Visual Studio 2010 Pro(Console Application)
Execute : Win10 Enterprise 2016 LTSB
SQL Anywhere 12
SQL Anywhere 17 OEM
Created database with "SQL Anywhere 17", registered in Windows service, initial setting.
Store the SQL Anywhere DLL in the same location as the Console Application file.

[Test Program]
SAConnection myConnection = new SAConnection(
"Data Source = DBA; UID=DBA; PWD=xxxxx");
myConnection.Open(); <- Exception Error
SACommand myCommand = new SACommand("CREATE TABLE TEST (ID BIGINT NOT NULL)");

[Execution Result]
SQL Anywhere .NET Data Provider : ???G?[: ???DLL "dbrsa17.dll" ???????A???B ( -895 )
-895 : Error Code(SQLE_ENCRYPT_ERROR)
dbrsa17.dll : It is in the same folder as the executable file.