我尝试使用iAnywhere.Data.SQLAnywhere.v4.0.dll连接到SQL Anywhere 12数据库。连接到SQL Anywhere - 找不到dblgen12.dll
在数据库服务器上,该连接成功,但是在任何其他PC上,出现错误Language Ressourcefile not found<dblgde12.dll, dblgen12.dll>
。
原因(德语)错误消息在这里,不幸的是,即使在我的英文系统上,错误消息也是德文的。
我发现这些文件在sql server的安装目录下,但我不知道如何处理它们,因为我无法在gac中安装它们。
的连接:
iAnywhere.Data.SQLAnywhere.SAConnection connection = new SAConnection();
connection.ConnectionString = new SAConnectionStringBuilder(){ DatabaseName = "123", UserID = "123", Password =
"123", ServerName = "123" , Host = "10.11.11.10"}.ConnectionString;
connection.Open();
感谢
您能否请您展示您的工作以创建连接和异常消息作为文本,宁愿用英语? –
@SonerGönül已更新。 – Florian