What causes a 403 error on a local Azure development environment?

瘦欲@ 提交于 2020-01-04 09:21:49

问题


I have an Azure application that works perfectly on every one of my colleagues machines. On mine, the web application works, but not the azure project, which runs on the local development fabric.

I'm getting a 403 error, which causes a blank page in Chrome. The application_start method gets fired and sets up the routes, but the actual MVC controller never gets called. Again, this works perfect if I run the web application directly. If I use that same azure project and deploy it online, it also works fine.

I've tried repairing visual studio, reinstalling Azure, rebooting, re-fetching source, you name it.

I'm desperate for ideas! What would cause a 403?


回答1:


Here is the answer. Looks like I wasn't the first to be victimized by this: http://scottdensmore.typepad.com/blog/2010/05/how-a-checkbox-saved-paving-my-machine.html

What's interesting is that I wasn't even using IIS.




回答2:


You need IIS for dev fabric. Cloud service projects do not run on the asp.net web server inbuilt in visual studio. Refer this.

So any configuration issues in IIS will affect you.



来源:https://stackoverflow.com/questions/4273390/what-causes-a-403-error-on-a-local-azure-development-environment

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