无法打开连接(C#,Sql Server,Crystal Reports)

编程入门 行业动态 更新时间:2024-10-27 02:23:17
本文介绍了无法打开连接(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)

本文发布于:2023-11-06 17:47:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1564373.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法打开   Sql   Server   Crystal   Reports

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!