locked
Getting "You do not have permission to view this directory or page." with a 403 forbidden on AccountController actions after publishing to Azure. RRS feed

  • Question

  • User1449359178 posted

    I created a web site with the MVC 4 templates. When i published the web site on Azure, i can't log in with an external provider, because the action "ExternalLoginCallback" gives me a 403 Forbidden with the message: "You do not have permission to view this directory or page". It works in localhost, but not when i publish to Azure.

    I could take screenshot of my web.config file if necessary.

    Thursday, June 27, 2013 11:15 AM

Answers

  • User-166373564 posted

    Hi,

    ExternalLoginCallback" gives me a 403 Forbidden with the message: "You do not have permission to view this directory or page". It works in localhost, but not when i publish to Azure.

    There is a similar discussion about getting error after pushing to Windows Azure: You do not have permission to view this directory or page, perhaps the solution is also available for you,

    #Windows Azure: You do not have permission to view this directory or page

    For this issue, you could learn relevant topics in the link below, it will give a specific guide for you to create your MVC 4 application and deploy your application to Windows Azure, at the same time you should check whether there is something wrong during your deployment,

    # How to deploy an ASP.NET web application to a Windows Azure Web Site using Visual Studio

    http://www.asp.net/mvc/tutorials/deployment/cse-curated-view-deploy-to-waws

    Moreover, our configuration and deployment forum deals with relevant issues about deploying asp.net web application IIS. For this issue, you can get help from our Azure and ASP.NET forum directly, it discuss about deploying ASP.NET applications to Windows Azure and using Windows Azure features in ASP.NET applications,

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 1, 2013 11:30 PM