title: MSBuild remoting to server throws COMException error
body: <p>Ive got an MSBUILD script where ive set the Username and Password properties as below</p>
  
  <pre><code>&lt;MSBuild.ExtensionPack.Web.Iis7AppPool TaskAction="CheckExists" Name="@(WebSite -&gt; '%(Name)')" MachineName="@(WebSite -&gt; '%(MachineName)')" Username="username" UserPassword="password"&gt;
  </code></pre>
  
  <p>This throws the following error :</p>
  
  <p>COMException: Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine MYSERVER01 failed due to the following error: 800706ba MYSERVER01</p>
  
  <p>Ports 135,445 are open.... 
  Eventlog showing up "DCOM was unable to communicate with the computer using any of the configured protocols" </p>
  
  <p>Firewalls are all currently disabled.</p>
  
  <p>Any guidance would be really appreciated.</p>