Debug Visual Studio 2013 using Azure Cloud Service

all.

I am having a problem debugging a local MVC web project in VS 2013. I created a blank solution, then clicked New Project and added the Azure Cloud Service project, after which I selected MVC WebRole / MVC Website. So far so good .. no mistakes. But when I try to debug a newly created project (selecting a local website in my project, not WebRoll in the CloudService dropdown and then pressing F5 or using the Debug menu), the browser comes up with the following message:


HTTP Error 500.19 - Internal Server Error The requested page is not available because the corresponding configuration data for the page is not valid.

Error Details: Module CustomErrorModule Notification SendResponse Handler ExtensionlessUrl-Integrated-4.0 Error Code 0x80070002 Configuration Error Cannot Read Configuration File Application Config File Host.config Requested URL http // localhost: 49531 / Physical Path
Login Method not yet defined Login User not yet defined Config Source:

-ten:


This only happens when I have a Cloud Service / WebRoll association in my project. I have no problem running local debug when building a website without implementing CloudService - it runs MVC localhost apps without any problem.

The error points to some kind of config file that I cannot find (applicationHost.config).

What am I doing wrong? What's going on here that I am missing?
I've re-installed the Azure SDK a couple of times .. it doesn't seem to fix the problem.

+3


source to share





All Articles