I am using Visual Studio 2015. I followed the instructions on how to create a Web Role inside a Cloud Service using the following instructions:
I completed everything in the 'Create a Web Role' section up to (and including) step 12.
Problem: When I run an instance of just the web role, a website pops up. When a run the cloud service that contains the web role, a website does NOT pop up.
---------------
In case these are relevant, here are the Build and Debug outputs:
----------------------------------------------------
Build:
1>------ Build started: Project: MultiTierApp, Configuration: Debug Any CPU ------
1>FrontendWebRole(0,0): warning WAT190: The project 'FrontendWebRole' targets .NET Framework 4.5.2. To make sure that the role starts, this version of the .NET Framework must be installed on the virtual machine for this role. You can use a startup task to install the required version, if it is not already installed as part of the Microsoft Azure guest OS. For more details, see http://go.microsoft.com/fwlink/?LinkId=309796.
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
-----------------------------
Debug:
'WaIISHost.exe' (CLR v4.0.30319: RdRuntime): Loaded 'c:\users\carpat\documents\visual studio 2015\Projects\MultiTierApp\MultiTierApp\csx\Debug\roles\FrontendWebRole\approot\bin\Microsoft.AspNet.Identity.EntityFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'WaIISHost.exe' (CLR v4.0.30319: RdRuntime): Loaded 'c:\users\carpat\documents\visual studio 2015\Projects\MultiTierApp\MultiTierApp\csx\Debug\roles\FrontendWebRole\approot\bin\Microsoft.AspNet.Identity.Owin.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'WaIISHost.exe' (CLR v4.0.30319: RdRuntime): Loaded 'c:\users\carpat\documents\visual studio 2015\Projects\MultiTierApp\MultiTierApp\csx\Debug\roles\FrontendWebRole\approot\bin\EntityFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'WaIISHost.exe' (CLR v4.0.30319: RdRuntime): Loaded 'c:\users\carpat\documents\visual studio 2015\Projects\MultiTierApp\MultiTierApp\csx\Debug\roles\FrontendWebRole\approot\bin\System.Web.Mvc.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.WindowsAzure.ServiceRuntime Information: 200 : Role entrypoint . CALLING OnStart(): FrontendWebRole.WebRole
Microsoft.WindowsAzure.ServiceRuntime Information: 202 : Role entrypoint . COMPLETED OnStart(): FrontendWebRole.WebRole
Microsoft.WindowsAzure.ServiceRuntime Information: 203 : Role entrypoint . CALLING Run(): FrontendWebRole.WebRole
The thread 0xc70 has exited with code 0 (0x0).
Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting
Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready
Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role instance status check starting
Microsoft.WindowsAzure.ServiceRuntime Verbose: 502 : Role instance status check succeeded: Ready
The thread 0x35c0 has exited with code 0 (0x0).
The thread 0x1fc4 has exited with code 0 (0x0).
The program '[12180] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[12180] iisexpress.exe' has exited with code 0 (0x0).
The program '[4360] WaIISHost.exe' has exited with code 0 (0x0).
The program '[4360] WaIISHost.exe: Program Trace' has exited with code 0 (0x0).
- Edited by CharlieBrownMSDN Sunday, September 13, 2015 7:16 PM