Run the Azure worker role in elevated mode to register HttpListener

If you try to run RavenDB in Azure worker role (http://www.michaelhanley.org/blog/2011/12/ravendb-running-in-windows-azure.html#tpe-action-resize-486), it might fail with the following error. (You will need to attach a debugger to WaWorkerHost process to see this error message. Since its an handled exception, you do not see it in event logs) CLR exception type: System.Net.HttpListenerException “Access is denied”Error: StartRaven Error:…

0