无法打开连接(C#,Sql Server,Crystal Reports) [英] Failed to open connection (C#, Sql Server, Crystal Reports)

查看:85
本文介绍了无法打开连接(C#,Sql Server,Crystal Reports)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法打开连接。

详细信息:[数据库供应商代码:17]

无法打开连接。

payments11 {D29B3531 -EF7D-426E-B1DB-05CD2A63FA5F} .rpt

详细信息:[数据库供应商代码:17]



我的c#应用程序工作正常我的机器。当我尝试在用户或目标计算机上运行我的应用程序,同时单击报告预览按钮时,它会显示一个报告。如果我刷新水晶报告则显示上述错误。如何解决此错误

Failed to open the connection.
Details: [Database Vendor Code:17]
Failed to Open Connection.
payments11 {D29B3531-EF7D-426E-B1DB-05CD2A63FA5F}.rpt
Details : [Database Vendor Code:17]

My c# application works fine in my machine. When i am trying to run my application on users or target machine while click on report preview button it shows a report. If I refresh crystal report it show the above error. How to solve this error

推荐答案

实时计算机无法看到您提供的连接字符串引用的数据库:检查您是否更改了连接字符串(它应该在配置文件中,而不是硬编码)来匹配本地用户网络,并检查它提供的授权详细信息是否正确 - 用户名,密码,那种stuf:几乎没有实时数据库系统使用windows出于安全性和可追溯性原因进行身份验证。
The chances are that the live machine can't see the database that the connection string you provided refers to: check that you changed the connection string (it should be in a config file, not hard coded) to match the local user network, and check that the authorization details it provides are correct - username, password, that kind of stuf: almost no "live" db systems use windows authentication for security and tracability reasons.


这篇关于无法打开连接(C#,Sql Server,Crystal Reports)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆