对于SQL Server精简4.0 Azure支持 [英] Support for SQL Server Compact 4.0 on Azure

查看:177
本文介绍了对于SQL Server精简4.0 Azure支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站是2012年VS建我有一个SQL Server精简DB在我的App_Data文件夹中的.NET 4.5的MVC的网站。所有在我的本地的伟大工程。我部署到Azure的网站,并得到这个错误?

My website is a .net 4.5 mvc site built with VS 2012. I have a SQL Server Compact DB in my app_data folder. All works great on my localhost. I deploy to Azure website and get this error?

找不到请求的.NET Framework数据提供程序。它可能没有安装。

Unable to find the requested .Net Framework Data Provider. It may not be installed.

我GOOGLE了它,并得到很多可能的答案,但没有具体到Azure和SQL Server精简。所以我的问题很简单。请问这是部署到Azure中的Windows Azure网站共享托管服务器支持的SQL Server Compact?那么,是什么,我需要做的,以消除上述错误,并使其发挥作用?

I've googled it and get lots of possible answers, but none specific to Azure and SQL server compact. So my question is simple. Does a windows Azure Website which is deployed to an Azure shared hosting server support SQL Server Compact? If so, what do I need to do to eliminate the aforementioned error and make it work?

推荐答案

<一个href=\"http://social.msdn.microsoft.com/Forums/da-DK/windowsazuredata/thread/ddbdbce1-8f37-4a47-9947-0d7cb3eeedcd\"相对=nofollow>微软的第二个文超曾的在Azure不支持SQL精简。

Second Wenchao Zeng of Microsoft the Azure don't support Sql Compact.

我可以用一次,但不建议这样做,因为与数据复制在Windows Azure工作(这是云,还记得吗?),并在 SQL CE不支持此功能即可。如果可以的话就摆在Azure中的SQL CE有时候不会得到访问或用户看到的数据过时或损坏,因为异步。

I could use once but this is not recommended because the Windows Azure work with replication of the data (this is the cloud, remember?) and the Sql CE does not support this functionality. If you can to put a Sql CE in Azure sometimes will not get access or users see data outdated or broken because the async.

最好的办法就是你使用 Azure中的Sql BLOB存储

The best way is you to use the Azure Sql ou BLOB storage.

这篇关于对于SQL Server精简4.0 Azure支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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