Crystal Reports和SQL Server 2005实例的问题 [英] Problem with Crystal Reports and SQL Server 2005 instance

查看:65
本文介绍了Crystal Reports和SQL Server 2005实例的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Crystal Report,VB.Net和SQL Server Express 2005开发报表应用程序.问题是,当我将应用程序部署到客户端时,由于服务器名称的缘故,报表无法启动.例如,当我在计算机上使用服务器名称"MYPC \ SQLExpress"开发该应用程序时,在客户端中,服务器名称将为"CLIENT \ SQLExpress"或"CLIENT \ AnotherSQLInstance".如何克服这个问题?您的回答将不胜感激.在此先谢谢您.

I''m developing reporting application using Crystal Report and VB.Net and SQL Server Express 2005. The problem is when I deploy the application to the client the reports fail to start because of the server name. For example, when I develop this application in my computer with server name "MYPC\SQLExpress" then in client the server name will be "CLIENT\SQLExpress" or "CLIENT\AnotherSQLInstance". How to overcome this problem? Your answers will be appreciated. Thanks in advance.

推荐答案

您可以在程序中更改Crystal Report对象的ConnectionInfo.
HTH
You can change the ConnectionInfo of the Crystal Report object from within your program.
HTH


这篇关于Crystal Reports和SQL Server 2005实例的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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