title: NewRelic Monitoring Agent Fails on Azure Worker Role
body: <p>Trying to make NewRelic work with a WorkerRole service. I have followed all instructions properly and encounter this in the NewRelic agent logs:</p>
  
  <pre><code>[Info ]Logger initialized.
  [Info ]&lt;-- New logging level set.
  [Info ]Enabling instrumentation for this process (E:\base\x64\WaWorkerHost.exe) due to it being in a predefined set of processes to be instrumented.
  [Info ]Instrumenting method: (Module: D:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll, AppDomain: RdRuntime)[System]System.Net.HttpWebRequest.SerializeHeaders
  [Error]Unhandled token encountered while parsing the type.  Token: 0x20
  [Error]An exception was thrown while possibly instrumenting function: (Module: D:\Windows\Microsoft.Net\assembly\GAC_64\msshrtmi\v4.0_2.1.0.0__31bf3856ad364e35\msshrtmi.dll, AppDomain: RdRuntime)[msshrtmi]Microsoft.WindowsAzure.ServiceRuntime.Internal.InteropLocalResource.GetMaximumSizeInMegaBytes
  [Info ]Instrumenting method: (Module: D:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll, AppDomain: RdRuntime)[System]System.Net.HttpWebRequest.GetResponse
  </code></pre>
  
  <p>Does anyone have any idea why this is happening? My application isn't reporting and I assume it is because of these unhandled exceptions from NewRelic's monitor.</p>
  
  <p>Thanks!</p>