浏览器中的Crystal Report查看器 [英] crystal report viewer in browser

查看:99
本文介绍了浏览器中的Crystal Report查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在浏览器中打开Crystal报表文件,但是当我尝试打开该报表时,却什么也没有显示,就像我尝试在vs中成功打开报表时显示的那样,但是在浏览器中无法显示Crystal报表

i try to open crystal report file in browser but when i try to open this shows nothing where as when i try to open report in vs this successfully display but in browser viewer of crystal report not display

web.config程序集

web.config assemblies

   <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>


推荐答案

在浏览器中,打开F12开发人员工具。您应该注意到一些与缺少JavaScript文件(例如crv.js)有关的错误,以及来自以下文件夹的一些CSS:C:\inetpub\wwwroot\aspnet_client\system_web\4_XXXXXX。

In your browser, open F12 developer tools. You should notice some errors relating to missing JavaScript files like crv.js and some css from a folder like: C:\inetpub\wwwroot\aspnet_client\system_web\4_XXXXXX.

在Windows 10+操作系统中,主要是由于Crystal会基于.Net Framework 4.0创建一个aspnet_client文件夹,但会根据已安装的框架版本动态确定路径,以提供服务报告所需的静态内容。由于现在会自动更新框架,因此一旦更新框架,此位置的URL将不正确。 SAP 意识到此问题

In Windows 10+ operating systems, mainly due to Crystal creates an aspnet_client folder based on .Net framework 4.0, but dynamically determines the path based on the installed framework version to serve up static content required to serve the reports. Since the framework is now updated automatically, the URL to this location will be incorrect once the framework is updated. SAP is aware of this problem.

您可以将文件夹复制为临时解决方法:将C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319复制到C:\inetpub\wwwroot\ developeraspnet_client\system_web\4_6_XXXXX基于开发人员工具中404错误报告的路径。

You can copy the folder as a temporary workaround: Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319 to C:\inetpub\wwwroot\aspnet_client\system_web\4_6_XXXXX based on the path reported by the 404 errors in your developer tools.

有关更强大的解决方案,请参见使用Visual Studio 2013的水晶报告aspnet_client / system_web / 4_6_81

For a more robust solution, see Crystal Report with Visual studio 2013 aspnet_client/system_web/4_6_81

这篇关于浏览器中的Crystal Report查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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