title: Error in Azure Application Initialisation
body: <p>I have an azure webapplication and when it goes through the application-initialization scripts I keep getting these</p>
  
  <pre><code>Error message
  System.Web.HttpException: The request is not supported. (Exception from 
  HRESULT: 0x80070032)
  
  Sample stack trace
  System.Web.HttpException (0x80004005): An error occurred while communicating with the remote host. The error code is 0x80070032. ---&gt; System.Runtime.InteropServices.COMException (0x80070032): The request is not supported. (Exception from HRESULT: 0x80070032)
  at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
  at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
  at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
  at System.Web.HttpResponse.Flush()
  at System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size)
  at System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
  at System.IO.Stream.&lt;&gt;c.&lt;BeginWriteInternal&gt;b__46_0(Object )
  at System.Threading.Tasks.Task`1.InnerInvoke()
  at System.Threading.Tasks.Task.Execute()
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.IO.Stream.EndWrite(IAsyncResult asyncResult)
  at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
  at System.Web.Http.WebHost.HttpControllerHandler.&lt;WriteStreamedResponseContentAsync&gt;d__15.MoveNext()
  </code></pre>
  
  <p>Its driving us mad as if we hit the same addresses after initialisation they work fine. This only happens on Azure it never happens when we run the application locally where they work fine.</p>
  
  <p>Any thoughts... the inner code indicates that its unable to attach to a 64bit process but we are running in 32bit. </p>
  
  <p>Cheers</p>