Make sure you run the Azure project, not the web project itself. You may have defined the role of the web role as the launch project, and if you do, you will find that IIS launches the web application and not the Azure Dev Fabric, which means that any Dev Fabric material (e.g. configuration settings for each role) is not an available problem.
What you have to do is let Azure Dev Fabric (Compute Simulator) run all your roles for you, and it will also work if you need to open a web browser, etc.
, Azure Cloud, .
, ,
Andy
EDIT - !
, web.config , debug = "true". WebSite , :
< system.web > < compilation debug = "true" targetFramework = "4.0" / >