ASP.NET MVC 4 RC on Windows Azure throws error “HTTP Error 403.14 – Forbidden ”

I’ve been playing with mvc 4RC and Windows Azure. I stumbled upon an issue when I deployed and tried to access the app in the cloud via browser. The following error was popping up “HTTP Error 403.14 – Forbidden”, it’s annoying, so everything was working on my laptop, though .  I’ve researched the problem and I figured it out, thanks to StackOverflow :),  that setting

<modules runAllManagedModulesForAllRequests="true">

could make the things work but this approach wasn’t the best one due to reasons explained by Colin in this blog : . So, having this configuration helped me to solve this problem:

 <remove name="UrlRoutingModule-4.0" />
 <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s