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

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

问题描述

我建立了一个网页,其中包含使用Visual Studio 2008中包含的Crystal库构建的Crystal报表。

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

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

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.

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

他们都在那里。

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.

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

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

我还在web服务器上安装/运行了CRRedist2008_x86.msi。

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

有些人提到确保将'crystalreportviewers115'文件夹添加到我的web服务器上的'\wwwroot\aspnet_client\ system_web\2_0_50727'文件夹,但我已无法找到crystalreportviewers115进行复制。

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!在这里工作的人想出了这一点。

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.

在这里修复:

On Web服务器,将aspnet_client文件夹从C:\Inetpub\root复制到C:\Inetpub\wwwroot\your-website-name。

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报表图标/工具栏部署在Web服务器上时不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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