Hi Guys,
I have run into a problem with the RoleManager in a Worker Role that I have developed.
This simple line -> RoleManager.WriteToLog("Information", "Working"); generates an exeception -
Microsoft.ServiceHosting.ServiceRuntime.RoleException was unhandled by user code
Message="Unable to Log Event using ETW."
Source="Microsoft.ServiceHosting.ServiceRuntime"
StackTrace:
at Microsoft.ServiceHosting.ServiceRuntime.Implementation.Events.RoleEventLog.Log(String message)
at Microsoft.ServiceHosting.ServiceRuntime.RoleManager.WriteToLog(String eventLogName, String message)
at WorkerRole1.WorkerRole.Start()
at Microsoft.VisualStudio.CloudService.WindowsAzureIntegration.DebuggingRoleEntryPoint.Start()
at Microsoft.ServiceHosting.ServiceRuntime.Internal.RoleEntryPointProxy.<Start>b__4()
at Microsoft.ServiceHosting.ServiceRuntime.Internal.LogRoleEntryPointProxy.<>c__DisplayClass9.<DoAction>b__8()
at Microsoft.ServiceHosting.ServiceRuntime.Internal.RuntimeCommon.DoAction(Action act)
InnerException:
Any ideas on this? This was working before.
- Moved byEvan BasalikMSFTSunday, November 01, 2009 6:37 PMMoving to a better forum (From:SQL Azure — Getting Started)
-