开发者

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

开发者 https://www.devze.com 2023-01-27 08:50 出处:网络
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 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. T开发者_开发知识库he 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?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号