Crystal Report部署不同的服务器名称 [英] Crystal Report Deployment different server name
问题描述
大家好,
我必须使用水晶报表以C#格式显示报表,我将服务器名称,用户名&密码作为参数,在开发PC上可以正常使用,
我的问题是:
当我在另一台服务器(具有不同的cours服务器名称)上部署应用程序时,
我得到一个带有连接失败消息的登录窗口.
就像他保留开发服务器信息一样.
请帮助
Hi all,
i have to display a report in a C# Form using crystal report, i make the server name, user name & the password as a parameters, it works fine in the developpement PC,
my problem is :
When i deploy the application on another server (with different server name of cours),
i get the a login window with a connection failed Message.
it''s like he keep the developpement server information.
please Help
推荐答案
在这里
C#Crystal Reports动态登录参数 [了解Crystal Reports中的登录失败错误 [ ^ ]
使用具有.NET的Crystal Reports对数据库登录错误进行故障排除 [ ^ ]
编辑
-------------------------------------------------- ----------------------
Here you go
C# Crystal Reports Dynamic Logon parameters [^]
Free attachments
Understanding the Login Failed Error in Crystal Reports[^]
Troubleshooting Database Login Errors using Crystal Reports with .NET[^]
EDIT
------------------------------------------------------------------------
尊敬的那位大臣,
非常感谢您的链接,这非常有用,
有个好消息和一个好消息:
好消息是:
Crystal Report Viewer的登录"提示中输入了新的服务器名称,正确的用户名(sa),正确的密码...
坏消息是:
我有一个水晶报表查看器,登录失败.
:( :(
Dear thatraja,
thanks very much for your links, it was very usefull ,
there is a good news and bed news :
The good news is:
the crystal report viewer Login prompt took the new server name , the right user name (sa), the right password...............
The bad news is:
i got a crystal report viewer Login failed.
:( :(
好,看这里
替代方式
使用ReportDocument类的SetDatabaseLogon()方法 [ ^ ]
以编程方式更改Crystal Reports上的数据源/数据库 [ ^ ]
在运行时将数据库登录信息设置为Crystal Report [^ ]
ReportDocument http://devlibrary.businessobjects.com/BusinessObjectsXIR2/zh/zh_CN/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineReportDocumentSetDatabaseLogonTopic2.htm"target =" _ blank标题=" New> />
让我知道.
OK here look at this
Alternate way
Using the SetDatabaseLogon() Method of the ReportDocument Class[^]
Programmatically change the datasource/database on Crystal Reports[^]
Set Database logon info to a Crystal Report at runtime[^]
ReportDocument.SetDatabaseLogon Method[^]
Let me know.
这篇关于Crystal Report部署不同的服务器名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!