How To Deploy Third party software on Azure app service

折月煮酒 提交于 2020-01-07 05:20:46

问题


I have an ASP.NET website that I am deploying to an Azure app service, which requires the Access Database Engine to be installed. I have included the accessdatabaseengine.exe file and also added install.cmd. In install.cmd file I have:

AccessDatabaseEngine.exe /passive.  

But this doesn't seem to be working. What am I missing? What is the correct way to install a 3rd party binary in an Azure app service?


回答1:


You cannot install arbitrary software when running on Azure App Service. Generally, you cannot make any machine level changes (e.g. registry changes).

For most apps, that is not an issue. But if that is a requirement for you, you will need to use an alternative offering, like Cloud Service or VM.




回答2:


If you need the Access Database Engine, you are probably trying to query something using OleDb. If that's the case, send that code back to the 90's where it belongs, and rework your code to use something a little more modern, like ClosedXml, which will come neatly along with your website in a NuGet package.



来源:https://stackoverflow.com/questions/42811317/how-to-deploy-third-party-software-on-azure-app-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!