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

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

问题描述

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

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

它'在我的机器上工作'但是当部署到Web 服务器 Crystal Report 工具栏上的图标(导出、打印等)不显示或不工作.只是看到按钮图像应该在的红色 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.

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

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

我还在网络服务器上安装/运行了CRRedist2008_x86.msi".

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

有人提到要确保将crystalreportviewers115"文件夹添加到我在网络服务器上的wwwrootaspnet_clientsystem_web2_0_50727"文件夹中,但我一直无法找到crystalreportviewers115"来复制它.

Some people have mentioned ensuring that 'crystalreportviewers115' folder is added to my 'wwwrootaspnet_clientsystem_web2_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.

这里是修复:
在 Web 服务器上,将aspnet_client"文件夹从C:Inetpubwwwroot"复制到C:Inetpubwwwrootyour-website-name".

Here the fix:
On the web server, copy the 'aspnet_client' folder from 'C:Inetpubwwwroot' to 'C:Inetpubwwwrootyour-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 Report 图标/工具栏在 Web 服务器上部署时不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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