How do I set an ADO.NET Entity Framework connection string via the Windows Azure (Preview) Management Portal?

前端 未结 5 1763
一向
一向 2020-12-16 10:53

In the Windows Azure (Preview) Management Portal you can change the configuration options for web sites (see http://www.windowsazure.com/en-us/manage/services/web-sites/how-

5条回答
  •  误落风尘
    2020-12-16 11:17

    The solution for my problem was selecting "Custom" instead of "SQL Azure" from the "SQL Azure / SQL Server / MySQL / Custom" selector for the Entity Framework connection string, even though the database does run on SQL Azure.

    [Edit] From a popular comment by @matthew-steeples below:

    I would add to this for anyone else having the same issue is that sometimes the config file will have " instead of ", and the Azure Websites needs those to be changed to "

提交回复
热议问题