SAP Knowledge Base Article - Preview

1984310 - Error: "iAnywhere.Data.SQLAnywhere.SAException: Cannot find the language resource file dblgen16.dll"


  • When deploying a SQL Anywhere application to a remote system with an ADO.NET application (VB.NET, C#, ASP.NET) and the SQL Anywhere ADO.NET Provider Dynamic Link Library (DLL) 'iAnywhere.Data.SQLAnywhere.dll' (for .NET 2.0, 3.5, 4.0, or 4.5 frameworks), the following exception may be thrown:
System.TypeInitializationException: The type initializer for 'iAnywhere.Data.SQLAnywhere.SAConnection' threw an exception.
at iAnywhere.Data.SQLAnywhere.SAConnection..ctor(String connectionString)
at ...
caused by iAnywhere.Data.SQLAnywhere.SAException: Cannot find the language resource file (dblgen16.dll).
at iAnywhere.Data.SQLAnywhere.SAUnmanagedDll.get_Instance()
at iAnywhere.Data.SQLAnywhere.SAConnection..cctor()
  • Depending upon the version of SQL Anywhere ADO.NET provider used and the language of the system, the language resource file may refer to one of the following files:
    English (en) Chinese (zh) French (fr) German (de) Japanese (jp)
    10.0.x dblgen10.dll dblgzh10.dll dblgfr10.dll dblgde10.dll dblgjp10.dll
    11.0.x dblgen11.dll dblgzh11.dll dblgfr11.dll dblgde11.dll dblgjp11.dll
    12.0.x dblgen12.dll dblgzh12.dll dblgfr12.dll dblgde12.dll dblgjp12.dll
    16.x dblgen16.dll dblgzh16.dll dblgfr16.dll dblgde16.dll dblgjp16.dll



  • SAP Sybase SQL Anywhere 10
    SAP Sybase SQL Anywhere 11
    SAP Sybase SQL Anywhere 12
    SAP Sybase SQL Anywhere 16
  • Microsoft Windows XP, Vista, 2000, 2003, 2008, 2008 R2, 2012, 7, 8
  • Microsoft .NET 2.0, 3.0, 3.5, 4.0, 4.5


SAP SQL Anywhere all versions ; SAP SQL Anywhere, cloud edition all versions ; SQL Anywhere all versions


KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.