How to Successfully Deploy a Lightswitch 2013 HTML App to Azure with a Linked SQL Server database?

雨燕双飞 提交于 2019-12-13 05:11:14

问题


I've created a Lightswitch HTML application in VS 2013. It relies on a SQL Server database which was created locally and then uploaded to Azure. The database was then linked to the Azure web site.

I tested my database connection strings in the publish routine and they succeeded. The publish succeeded, but when I browse my azure URL, I receive the following message:

You do not have permission to view this directory or page.

What must be done to remedy this error?


回答1:


I had a similar problem that would not resolve until I moved to a "Pay-As-You-Go" subscription rather than a "Free Trial".




回答2:


I also had the same problem, but did NOT have to move to a "Pay-As-You-Go" subscription to get it working. Here was what I had to do.

The Azure management portal will tell you that the Site URL is something like
https://mywebsite.azurewebsites.net/

but to test a Lightswitch HTML5 client application, the URL in Azure will actually be
https://mywebsite.azurewebsites.net/HTMLClient/

Hope that helps.



来源:https://stackoverflow.com/questions/19872328/how-to-successfully-deploy-a-lightswitch-2013-html-app-to-azure-with-a-linked-sq

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