Azure App Service下的ODBC或OleDB数据库驱动程序 [英] ODBC or OleDB database drivers under Azure App Service

查看:149
本文介绍了Azure App Service下的ODBC或OleDB数据库驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调查使用Visual Studio 2015中的Web Deploy将ASP.NET MVC Web应用程序作为应用程序服务部署到Azure所涉及的内容.

I'm investigating what's involved in deploying an ASP.NET MVC web application to Azure as an App Service, using Web Deploy from Visual Studio 2015.

MVC Web应用程序以标准方式将SQL Server用于身份数据库,因此我可以看到如何将其指向Azure托管的数据库服务器.

The MVC web application uses SQL Server for the identity database in the standard fashion, so I can see how to point that at an Azure-hosted database server.

此外,它在App_Data文件夹中的DBF文件中具有一些旧版"数据,可通过OLEDB在我的开发PC上进行访问.

In addition, it has some 'legacy' data in DBF files in the App_Data folder, accessed on my development PC via OLEDB.

此方案显然将在部署上失败,因为无论该站点最终托管在哪个盒子上,都不会安装此OLEDB驱动程序.

This scenario is obviously going to fail on deployment because whatever box(es) the site ends up hosted on won't have this OLEDB driver installed.

这是一个完全的非运行者,还是有某种安装驱动程序的方法?

Is this a complete non-runner or is there some way of installing the driver?

推荐答案

使用App Service时无法安装ODBC或OleDB驱动程序,需要查看虚拟机.

You can't install ODBC or OleDB drivers when using App Service, you need to look at Virtual Machines.

这篇关于Azure App Service下的ODBC或OleDB数据库驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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