title: Initialise COM object from windows service
body: <p>I have a COM object that is being called from a windows service, this COM is actually a .net dll registered via Regasm.exe.</p>
  
  <p>In my windows service it is failing when I try to create an object with an error saying it could not create the COM object. </p>
  
  <p>When I change the windows service "Log On" details to my account (rather than Local System Account) it works fine and the COM object is created OK. </p>
  
  <p>So I am not sure how to fix this, it is something to with either how I am registering the COM via Regasm (I have tried both "run as admin" and without) or some permission on the "Local System Account" that it is not quite right.</p>