title: MSSQL Service broker activation "Execute as SELF"
body: <p>I have a service broker activated stored procdedure that runs fine when executed in management studio. However, when it is activated on the queue, the sql server error log shows the following message:</p>
  
  <pre><code>"The activated proc [dbo].[FileUploadAsyncWorker] running on queue
  AsyncProcessing.dbo.FileUploadRequestQueue output the following:  'You do not have
  permission to use the bulk load statement."
  </code></pre>
  
  <p>I think that the 'offending' statement in FileUploadAsyncWorker is:
      insert into FileContent (filename, content)
      select @filename, content
      from openrowset (bulk...</p>
  
  <p>How do I tell under which user account the stored procedure is running?</p>