Tuesday, September 2, 2014

Not running in a hosted service or the Development Fabric

Runtime Exception:
Could not create Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.4.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.

{"Not running in a hosted service or the Development Fabric."}

Fix:
I accidentally had set the Web Role project as the startup project. Setting the cloud service project in the solution as the Startup project helped me get past this exception.

No comments:

What is success?

The journey of life takes us through varied experiences like landing an admission at a prestigious college, earning a degree, getting hired,...