Crystal Reports图标/工具栏在Web服务器上部署时不起作用 [英] Crystal Report icons/toolbar not working when deployed on web server

查看:182
本文介绍了Crystal Reports图标/工具栏在Web服务器上部署时不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个网页,其中包含使用Visual Studio 2008中包含的Crystal库构建的Crystal Report。



It'在我的机器上工作,但是当部署到Web服务器上时,Crystal上的图标(导出,打印等)报表工具栏不显示或工作。只需看到按钮图像应该是红色X,然后点击不起作用。



我已经检查了工具栏图像实际上位于正在查看的位置网络服务器:
(C:/ Inetpub / wwwroot / aspnet_client / system_web / 2_0_50727 / CrystalReportWebFormViewer4 / images / toolbar /)

他们都在那里。



我已经检查了Web服务器上的上述文件夹的权限。
为每个用户提供完全控制来测试它。



我还在网络服务器上安装/运行'CRRedist2008_x86.msi'。有些人提到确保将'crystalreportviewers115'文件夹添加到Web服务器上的'\wwwroot\aspnet_client\system_web\2_0_50727'文件夹中,但是我无法找到'crystalreportviewers115'来复制它。



欣赏您可能提供的任何帮助或想法。



更新 - 好的,显然我没有检查到足够好的图像在正确的位置。

解决方案

Doh!在这里工作的其他人都想出了这一点。这真的很简单,我应该可以排序,但嘿,这是怎么回事。



这里修复:

On Web服务器将C:\Inetpub\wwwroot中的aspnet_client文件夹复制到C:\Inetpub\wwwroot\您的网站名称。



这就是我们所做的一切,现在正在工作。



希望这样可以使人们从我刚刚经历的所有事情中拯救一下。


I have built a web page which contains a Crystal Report built using the Crystal libraries included in Visual Studio 2008.

It 'works on my machine' but when deployed to the web server the icons (Export, Print etc) on the Crystal Report toolbar do not display or work. Just seeing the 'red X' where the button image should be and clicking does nothing.

I have checked that the toolbar images are actually in the location being looked at on the web server: (C:/Inetpub/wwwroot/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/)
They are all there.

I have checked the permissions on the above mentioned folder on the web server. Gave 'full control' to every user just to test it.

I have also intalled/run the 'CRRedist2008_x86.msi' on the web server.

Some people have mentioned ensuring that 'crystalreportviewers115' folder is added to my '\wwwroot\aspnet_client\system_web\2_0_50727' folder on the web server but I have been unable to find the 'crystalreportviewers115' to copy it.

Appreciate any help or ideas you may be able to offer.

Update - OK, so obviously I hadn't checked well enough that the images were in the correct location.

解决方案

Doh! Someone else here at work figured this out. It was really simple and I should have been able to sort it, but hey, that's how it goes sometimes.

Here the fix:
On the web server, copy the 'aspnet_client' folder from 'C:\Inetpub\wwwroot' to 'C:\Inetpub\wwwroot\your-website-name'.

That's all we did and it's now working.

Hope this saves someone from all the fuss I just went through.

这篇关于Crystal Reports图标/工具栏在Web服务器上部署时不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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