Crystal 报表无法正常工作 Azure Web 应用程序 [英] Crystal report not working Azure web apps

查看:23
本文介绍了Crystal 报表无法正常工作 Azure Web 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在 asp.net 应用程序中使用水晶报表 (https://kegxchange.azurewebsites.net/)但是,当我们发布应用程序时,我们收到错误无法加载文件或程序集 'CrystalDecisions.Web".是否可以为此站点安装水晶报告运行时,或者是否有任何解决方案来运行水晶报告.在过去的几年里,我们在生产托管服务器上成功地运行了这个应用程序,没有任何问题.由于我们正在将此应用程序迁移到 azure 平台,因此如果我们在不进行任何更改的情况下运行相同的应用程序会很好.

We are using crystal reports in asp.net application (https://kegxchange.azurewebsites.net/) However when we publish the application we are getting the error "Could not load file or assembly 'CrystalDecisions.Web". Is it possible to install crystal reports runtime for this site or is there any work around solution for running crystal reports. We are running this application successfully in the production hosted server for the past few years without any issues. Since we are moving this app to azure platform, it would be good if we run the same application without any changes.

推荐答案

您无法在 Azure Web Apps 中运行 Crystal Reports,因为您无法在 Web Apps 沙箱中安装 COM 组件.您需要使用虚拟机来执行此操作,并且您的应用应该无需任何更改即可运行.

You can't run Crystal Reports in Azure Web Apps as you can't install COM components in the Web Apps sandbox. You need to use a Virtual Machine to do so and your app should run without any changes.

顺便说一句,在 feedback.azure.com 上,向 Web 应用程序添加 Crystal Reports 支持的请求被拒绝(链接).

BTW, on feedback.azure.com, the request to add Crystal Reports support to Web Apps was declined (link).

这篇关于Crystal 报表无法正常工作 Azure Web 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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