在IIS 7中部署后,为什么不显示水晶报表工具栏图像?

问题描述:

Why Crystal Report Tool Bar Images are not displayed after deploying in IIS 7?





我在本地运行时获得带有打印等功能的图像。

但是在部署之后,工具栏图像是不可见的。



我尝试了什么:



在c:\inetpub \ www.root中添加了asp.netclient但是没有看到图像集的crystalreportviewer文件夹。



I am getting the images with it's functionlaity like print etc while running locally.
But after deployment the tool bar images are invisible.

What I have tried:

Added asp.netclient with in c:\inetpub\wwwroot but the crystalreportviewer folder where images set are not seen.

问题基本上是工具栏图像来自aspnet_client文件夹(c:\inetpub \wwwroot \ aspnet_client \ system_web \ 2_0_50727)。



解决方案:

1)首先将您的水晶报告文件从您的机器复制到服务器C:\ Windows \ Mesrosoft.NET \ Framework \v2.0.50727 \ ASPP.NETClientFiles \ CrystalReportWe bFormViewer4路径



2.获取这些文件并将其放在C:\inetpub \wwwroot \ aspnet_client \ system_web \2_0_50727文件夹下的服务器中/>


3.更换文件后重新启动您的网站或IIS然后它将工作
The issue is basically toolbar images are taken from aspnet_client folder(c:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727).

Solution:
1) First Copy your crystal report files from your machine to server those are exists in C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\ CrystalReportWebFormViewer4 path

2.Get those files and place it in your server under C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727 folder

3.After replacing files restart your website or IIS then it will work