Website for Cloud Service with Web Role not popping up

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:

https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-multi-tier-app-using-service-bus-queues/

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).


September 13th, 2015 7:15pm

Hi Jeff,

Thank you for your reply. Unfortunately, I verified all of your steps, all of them check out.

I did notice that, when I run a Web Role instance by itself, a Microsoft Azure Emulator is not needed. However, when I run the Cloud Service, the Azure Compute Emulator and the Azure Storage Emulator starts up (without obviously starting up a website).

Is there maybe a problem there?


Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 1:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics