Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft.WindowsAzure.ServiceRuntime Error: 102 : Role environment . FAILED TO INITIALIZE

Tags:

https

azure

I am getting the following error while debugging a azure project: Microsoft.WindowsAzure.ServiceRuntime Error: 102 : Role environment . FAILED TO INITIALIZE

Using IIS7 Express.

Output windows results:

'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_32\msshrtmi\1.6.0.0__31bf3856ad364e35\msshrtmi.dll' Microsoft.WindowsAzure.ServiceRuntime Error: 102 : Role environment . FAILED TO INITIALIZE

Here is this code that fails:

HttpContext.Current.Response.Redirect(outURL, true);

This is going from http to https.

like image 763
Tim Avatar asked Dec 29 '11 21:12

Tim


1 Answers

I figured this out. It was simple, but the Azure project has to start first in order for the compute emulator to run. Right clicked Azure project top node and clicked debug/new instance.

like image 194
Tim Avatar answered Nov 02 '22 16:11

Tim