rsErrorOpeningConnection尝试使用C#访问时发生错误 [英] rsErrorOpeningConnection Error when trying to access with c#

查看:233
本文介绍了rsErrorOpeningConnection尝试使用C#访问时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我有一个需要从.net呈现报告并将其另存为pdf的要求,我有两个rdl,一个rdl的数据源指向服务器A,另一个rdl的文件指向服务器b ,并且我将报表服务器配置为与服务器A配合使用,因此当我尝试对其进行预览时,两个rdl都可以正常工作;当我部署为报表服务器时,服务器A rdl可以正常工作,但是连接的第二个rdl到服务器B的连接有一些错误(rsErrorOpeningConnection),这是该错误的原因,这是因为数据源指向服务器b而不是配置了reportserver的服务器a还是有其他原因,并且是否有针对此问题的修复程序它,请帮帮我,谢谢

HI i had a requirement where i need to render the report from .net and save it as a pdf , i have two rdl''s one rdl has a datasource pointing to server A, and the other rdl pointing to server b, and i have my report server configured to with server A, so when i try to priview it both the rdl''s are working fine , when i deployed to report server the server A rdl is working fine but the 2nd rdl which is connected to server B has some connection related error (rsErrorOpeningConnection), wha is the reason for this error is this because of the datasource pointing to server b instead of server a where reportserver is configured or is there any other reason , and is there any fix for it ,please help me out thanks

推荐答案

基于错误消息,我为您提供了此修复程序链接.

对服务器和数据库连接问题进行故障排除 [,其中包含5种情况.
Based on error message I give you this fix link.

Troubleshooting Server and Database Connection Problems[^]

Look at the first block Cannot create a connection to data source ''datasourcename''. (rsErrorOpeningConnection) which contains 5 cases.


这篇关于rsErrorOpeningConnection尝试使用C#访问时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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