解决方法如下:
vs2005中的crystalReport客户端分发
C:/Program Files/Microsoft Visual Studio 8/SDK/v2.0/BootStrapper/Packages/CrystalReports
CRRedist2005_x86.msi
在客户端运行上面的文件即可
目前好像合并包还没有出来
水晶报表 10 用于 Visual Studio .NET 时的服务器安装
该文件包含将水晶报表 10 用于 Visual Studio .NET 所需的服务器安装文件。
简体中文 (cr10_net_server_install_chs.zip)
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_net_server_install_chs.zip.asp
用于水晶报表 10 RDC 部署的合并模块
该文件包含部署使用报表设计器组件的水晶报表 10 应用程序所需的合并模块。这些合并模块可以合并进基于MSI的安装包,以包含适当的运行时文件。
简体中文 (cr10_rdc_merge_modules_chs.zip)
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_rdc_merge_modules_chs.zip.asp
web的水晶报表打包发布.
环境: vs2005自带报表(版本:10.2.3600.0),xp
打包步骤:如下
1. In Visual Studio .NET, open your Web application, go to the View menu, and select Solution Explorer. Right-click your Web application solution and from the pop-up menu, select Add then click New Project.
2. The Add New Project dialog box appears. Select Setup and Deployment Projects in the left pane and select Web Setup Project in the right pane. Click OK.
3. In the Solution Explorer, right click the Web Setup Project and select Add then click Project Output.
4. The Add Project Output Group dialog box appears. Select Primary Output and Content Files to add to your Web Setup project.
(NOTE When the Primary Output is added to the project, several Crystal Reports detected dependencies will be added.
Select all of the Crystal Reports dependencies and right-click on the highlighted files and select ‘Exclude’ so that these files are not installed on the target machine.)
5. In the Solution Explorer, right-click the Web Setup project and select Add then click Merge Module.
6.The Add Modules dialog box appears. Select the appropriate merge modules (See section above titled Crystal Reports 10 Merge Modules) and add them to your project. Click OK.
*** Steps 7 and 8 are for CrystalReports10_NET_EmbeddedReporting.msm only ***
7. From your Setup project, select the Crystal Reports merge module (you just added) to display the properties.
8. Expand the MergeModuleProperties and enter a valid license key the in Keycode Properties box.
The license key is the alphanumeric string you receive when registering Crystal Reports. This is mandatory when you deploy a Crystal Reports for Visual Studio .NET application using CrystalReports10_NET_EmbeddedReporting.msm. (选择该合并模块就可以)
(NOTE A license key will be given to you once you have registered Crystal Reports for Visual Studio .NET.
You can also find the license key by opening VS .NET and going to the 'Help' menu and selecting 'About…'. Under the 'Installed application list' is the license key for Crystal Reports 10 for Visual Studio .NET.)
9. To build your Web Setup project, highlight your deployment package (websetup1) in the Solution Explorer, right-click and select Build. You are now ready to deploy your ASP.NET Web application.
我看你的问题可能是有第4点引起的,注意它的说明如下:
(NOTE When the Primary Output is added to the project, several Crystal Reports detected dependencies will be added.
Select all of the Crystal Reports dependencies and right-click on the highlighted files and select ‘Exclude’ so that these files are not installed on the target machine.)
注: 当在项目中添加主输出时,几个水晶报表的依赖项也将被添加进去. 选择所有的水晶报表依赖项,把它从项目中排出,这样这些文件才不会安装到目标机器上
C:/Program Files/Microsoft Visual Studio 8/SDK/v2.0/BootStrapper/Packages/CrystalReports /
CRRedist2005_x86.msi
在目标机器上面的运行该文件即可
在xp环境上运行通过
http://192.168.0.240:9000/userlogin.aspx
1.
已达到系统管理员配置的最大报表处理作业数限制。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 已达到系统管理员配置的最大报表处理作业数限制。
源错误:
以上是提示的错误信息
解决办法:
具体为修改下面两个键的值。
HKEY_LOCAL_MACHINE;SOFTWARE;Crystal Decisions;10.0;Report Application
Server;InprocServer;PrintJobLimit
修改为1000
还有一个HKEY_LOCAL_MACHINE;SOFTWARE;Crystal Decisions;10.0;Report Application
Server;Server;PrintJobLimit 也修改为1000
2.用户使用水晶报表的时候出现加截报表错误.
刚开始用户使用非常正常,但使用一天(该用户使用报表频率非常大)就会出现"报表加载失败",然后用户重启服务器这后又可以了.
我发现在C:/WINDOWS/Temp这个临时文件里面有大量的水晶报表文件,每使用一次就会生成几个文件,在电脑没有重新启动的情况下它不会被删除,而出现大量的无用文件,在google里面搜了一圈发现也有人碰到这样的情况但回答的很模糊只是说要将水晶报表装载的文档关闭掉,从这里可以看出出现这样的错误应该是程序员人为照成的.
具体解决如下:
1.ReportDocumen实例必须为类成员
private ReportDocument prtp = new ReportDocument();
2.使用完水晶报表必须关闭文件,这样子就不会在windows的临时文件里面产生.
private void Page_Unload(object sender, EventArgs e)
{
prtp.Dispose();
}
Page_Unload 事件是在页面完全显示的时候运行,这样子就解决了.