I work with MS Excel files in my web application built in Azure. I have never encountered the following error when I try to access an excel file on my development basis. But as soon as I deploy to Azure in the cloud, I get this error message.
The provider 'Microsoft.ACE.OleDb.12.0' is not registered on the local computer.
I got the impression that Azure development is a copy of the environment you expect in Cloud.
Is there something wrong I'm doing here? ACE.OleDb provider not present in Azure?
ACE.OLEDb Azure VM.
(, , ). Fabric .NET , GAC. , , GAC Azure. , Dev Fabric, , DevFab (SDK 1.2) ( ) .
, , DAC Jet Drivers. , , DLL, Azure, .
1.) , " " DLL
2.) (, ), DLL bin , GAC. DLL , .
, , DLL, Azure. , , .
, ( ).
http://www.microsoft.com/downloads/en/details.aspx?familyid=7554f536-8c28-4598-9b72-ef94e038c891&displaylang=en
Windows Azure.
, , .
, . , , . Windows Server 2008 (IIS , -).
, Azure, , , , , . , , , .Net, , " " true, . , , - , -.
. Azure, Azure Web-. Azure VM, .
OpenSDK, Excel OleDb.
, , , :
Make sure that the open sdk dll is copied to the local one. In my case, this is a link to a DLL installed on my computer in program files. So when I uploaded to Azure, it gave a missed dll error. I copied the dll separately to the bin folder. I think that if we try to use nuget to refer to the dll, then this problem will not appear, but I have not tried it.
We hope this helps someone who is looking for an alternative to Oledb in case installing a DLL on the server is not possible.
Source: https://habr.com/ru/post/1769643/More articles:javascript - remove an element / node without identifier and specific content - javascriptMagento - how to include javascript file page by page - javascriptПрограммно сгенерировать PDF из HTML на iPhone - objective-cHow to encode and decode PER-encoded data in Python? - pythonASP.NET MVC for many client-side models - asp.net-mvcCalling a saved JavaScript function in MongoDB from PHP - phpHow to create bitmaps in Ruby on Rails - ruby-on-railsI get "Packages cannot be nested" in flash CS4 when I follow this tuturial - flashDoes the Android debugger debug debugging messages? - androidjQuery trigger does not work in IE. What for? - javascriptAll Articles