title: Fusion Log Assembly Binder Error - Bind result: hr = 0x1. Incorrect function
body: <p>I am trying to get to the bottom of a strange behavior on one machine. I have a trivial console application that will run interactively, but when I invoke it via WMI, it will start and exit immediately.</p>
  
  <p>I enabled the Fusion log, since Procmon was unrevealing. I see the following error:</p>
  
  <pre><code>*** Assembly Binder Log Entry (31-01-2015 @ 19:22:51) *** 
  
  The operation was successful. 
  Bind result: hr = 0x1. Incorrect function. 
  
  Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 
  Running under executable C:\CMCBOOTSTRAP\Cmc.Installer.Agent.Console.exe 
  --- A detailed error log follows. 
  
  BEGIN : Native image bind. 
  END : Incorrect function. (Exception from HRESULT: 0x00000001 (S_FALSE))
  </code></pre>
  
  <p>What is the cause for "incorrect function"? What else can I look at to determine why this application effectively dies on startup via WMI?</p>
  
  <p>And I mean <em>trivial</em>...</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          Thread.Sleep(30000);
      }
  }
  </code></pre>
  
  <p>Environment is Windows Server 2012 R2 and .NET 4.5.</p>