title: RPC server is unavailable
body: <p>I'm getting an intermittent error when using Outlook interop within my program. I get users reporting this error every now and then, but it's impossible to reproduce on my end. What's even stranger is that if they restart the program and try again, the error is gone.</p>
  
  <p>Here's the code I'm using to get a reference to Outlook.</p>
  
  <pre><code>public class CommonStuff
  {
      public static void Initialize()
      {
          olk = new Microsoft.Office.Interop.Outlook.Application();
          olk.ItemSend += new Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ItemSendEventHandler(OutlookInterop_ItemSend);
      }
  
      public static Microsoft.Office.Interop.Outlook.Application GetOutlook()
      {
          if (Process.GetProcessesByName("OUTLOOK").Count() == 0) //previous attempt at fixing this issue, and i'm not sure if i even need this
          {
              olk = new Microsoft.Office.Interop.Outlook.Application();
          }
          return olk;
      }
  }
  </code></pre>
  
  <p>And the code that's used when sending the actual email.</p>
  
  <pre><code>    public void SendEmail()
      {
          Microsoft.Office.Interop.Outlook.MailItem eMail = (Microsoft.Office.Interop.Outlook.MailItem)CommonStuff.GetOutlookApp().CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);
          eMail.Subject = String.Format("Subject");
          eMail.To = "email@things.com";
          eMail.Companies = "Company";
          eMail.Body = "blah blah blah";
          eMail.Attachments.Add(GetCrystalReportPDF());
          ((Microsoft.Office.Interop.Outlook._MailItem)eMail).Display();
      }
  </code></pre>
  
  <p>Unfortunately I don't know where exactly the error is happening because I can't reproduce the bug. Does anyone have any clues as to what's going on?</p>