Azure Web应用程序上的Office组件安装 [英] office component installation on Azure web app

查看:106
本文介绍了Azure Web应用程序上的Office组件安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用oledb进行excel导入和导出的Web应用程序,我们已经在本地计算机上安装了microsoft.ace.oledb.12.0提供程序,但是我们已经在azure Web应用程序上发布了该网站,因此如何安装microsoft.ace.oledb .12.0在Azure Web应用程序上的提供程序.

Our web application using oledb for excel import and export, we have install microsoft.ace.oledb.12.0 provider on the local machine, but we have published the website on azure web app , so how to install microsoft.ace.oledb.12.0 provider on azure web app.

请帮助我们.

推荐答案

如何在azure Web应用程序上安装microsoft.ace.oledb.12.0提供程序.

how to install microsoft.ace.oledb.12.0 provider on azure web app.

TL; DR:您不能.

TL;DR: You Can Not.

稍长一点:您无权访问安装COM组件所需的基础计算机或操作系统.您需要使用可以执行相同操作的其他(非COM)组件,或者使用可以控制操作系统的VM. (将容器用于应用程序服务处于预览状态,这可能会为您提供另一种方法,将操作系统自定义为容器发布的一部分.)

Slightly longer: you do not have the access to the underlying machine or operating system necessary to install COM components. You need to either use a different (non-COM) component that can do the same thing or use a VM where you do control the OS. (Using containers for app services is in preview which might give you another approach, customising the OS as part of the publication of the container.)

此外,不支持的Office组件特别适用于非交互式流程(例如,Web应用程序),因此,即使您可以使用该组件,也可能会遇到奇怪的问题(无论OleDB提供程序是否属于这种分类还不清楚).

Also, Office components are specifically not supported for use in non-interactive processes (eg. web apps), so even if you can use the component you may have odd issues (whether the OleDB provider falls into this classification is unclear).

这篇关于Azure Web应用程序上的Office组件安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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