升级到 firebird 2.5.0 后,连接被远程接口错误拒绝
我使用 Mono 2.6.7、CENTOS、Firebird AMD64 2.1.3 和 FirebirdSQL Provider 2.5.2,一切都工作正常,但是当 firebird dataserver 升级到 2.5.0 版本时,我收到此错误消息:
"Unable to complete network request to host "No message for error code 335544721 found."
另外,我有时也会收到此 错误消息:
"connection rejected by remote interface"
我在appsetting上的连接字符串
<add key="conns" Value="database=/home/db.fdb;user=sysdba;password=masterkey;datasource=localhost;charset=ISO8859_1;"/>
我尝试将数据源更改为localhost,127.0.0.1和服务器名,没有任何效果,我还将字符集更改为NONE,不也工作。在我升级到 2.6.5 提供者版本后,但我也遇到了同样的错误。
服务器正在运行,事实上,我可以从 IBExpert 远程连接到 firebird 服务器。
奇怪的是:我只能第一次加载网络应用程序,但是当我重新加载页面时,我收到错误消息
I use Mono 2.6.7, CENTOS, Firebird AMD64 2.1.3 and FirebirdSQL Provider 2.5.2, all worked fine, but when firebird dataserver was upgraded to 2.5.0 version, i get this error message:
"Unable to complete network request to host "No message for error code 335544721 found."
also, I get this one sometimes:
"connection rejected by remote interface"
My connectionstring on appsetting
<add key="conns" Value="database=/home/db.fdb;user=sysdba;password=masterkey;datasource=localhost;charset=ISO8859_1;"/>
I have tried change datasource to localhost, 127.0.0.1 and servername, nothing works, also i changed charset to NONE, not work too. After I upgrade to 2.6.5 provider version, but i got the same error too.
Server is running, in fact, I can connect to firebird server from IBExpert fine remotely.
Something curious: I can load the webapplication only first time, but when I reload the page, I get the error messages
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会解决同样的问题,只是删除数据库的 localhost 附件,例如,我放入连接字符串 localhost:c:\data\mydb.ib,并将其替换为 c:\data\mydb.ib 和所有工作得很好。
I'd solve the same isue just to delete the localhost attachment to the database, for example i put in my connectio string localhost:c:\data\mydb.ib, and replace it with c:\data\mydb.ib and all work just fine.