带有报告组件的页面不能在azure linux服务器上运行,但在本地运行正常 [英] Page with reporting component is not working on azure linux server but runs fine locally

查看:76
本文介绍了带有报告组件的页面不能在azure linux服务器上运行,但在本地运行正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用报告工具部署CORE网络 应用程序时出现问题 到linux网络应用程序(PremiumV2:
3小) 


本地一切正常。

当打开包含reportDesigner的页面看到开发错误时,在日志错误中如下:

System.TypeInitializationException:'DevExpress.XtraPrinting.BrickStyle的类型初始值设定项发生异常。
---> System.TypeInitializationException:'Gdip'的类型初始值设定项引发异常。 - > System.DllNotFoundException:无法加载共享库libdlor的一个依赖项。为了帮助诊断加载问题,请考虑设置
LD_DEBUG环境变量:liblibdl:无法打开共享对象文件:没有这样的文件或目录




试图设置:

DevExpress.Utils.AzureCompatibility.Enable = true;

但这导致所有Web应用程序出现大小写错误。



建议如何解决这个问题

解决方案

所有Azure Web应用程序(以及移动应用程序/服务,WebJobs和函数)都在称为 sandbox 的安全环境中运行。每个应用程序都在自己的沙箱中运行,
将其执行与同一台机器上的其他实例隔离开来,并提供额外的安全性和隐私,否则将无法使用。


< span style ="font-size:10.0pt; FONT-FAMILY:"宋体",无衬线;颜色:#0D0D0D">沙箱本身在由Azure Web App管理服务控制的作业中运行(在Windows中与WAS服务相当)。沙箱中的进程可以为子进程创建
自己的嵌套作业您可以在这里查看Sandbox限制:
一般沙盒限制 并且知道
关于
支持/不支持的组件和框架
。检查您是否正在为您的方案利用支持的报告/组件。


Having problems with deploying CORE web application which uses Reporting tools  to linux web app (PremiumV2: 3 Small) 
Locally everything works fine.
When opening page containing reportDesigner seeing development error, in log error is following:
System.TypeInitializationException: The type initializer for 'DevExpress.XtraPrinting.BrickStylethrew an exception. ---> System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load shared library libdlor one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl: cannot open shared object file: No such file or directory

Tried to set :
DevExpress.Utils.AzureCompatibility.Enable = true;
but this caused all web application to case errors.

Please advise how to  fix this problem

解决方案

All Azure Web Apps (as well as Mobile App/Services, WebJobs and Functions) run in a secure environment called a sandbox. Each app runs inside its own sandbox, isolating its execution from other instances on the same machine as well as providing an additional degree of security and privacy which would otherwise not be available.

The sandbox itself runs in a Job controlled by the Azure Web App administrative service (the moral equivalent of WAS service in Windows). A process within the sandbox can create its own nested Job for child processes to occupy. You may take a look at the Sandbox restrictions here: General Sandbox Restrictions and know about supported/unsupported components and frameworks. Check to see if you are leveraging a supported reporting /component for your scenario.


这篇关于带有报告组件的页面不能在azure linux服务器上运行,但在本地运行正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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