title: FileStream - "The given path's format is not supported"
body: <p>I'm trying to use <a href="http://epplus.codeplex.com/" rel="noreferrer">EPPlus</a> to save a spreadsheet on our LAN. I'm using a <code>FileStream</code> object to do this, however whenever I attempt to instantiate the object I get the error</p>
  
  <p><code>The given path's format is not supported</code></p>
  
  <p><strong>C#</strong></p>
  
  <pre><code>    private static string _fileName = "ErroredRows_";
      private static string _results =
          @"\\prdhilfs03\l&amp;i-sales&amp;mkt\WORKAREA\Agencyservices\Shared\AIC\Analysts_and_Reporting\Realignments\2014\MassUpdateTesting\Results\";
  
      public static void WriteSpreadsheet(Dictionary&lt;DataRow, string&gt; errors)
      {
          //Create download Destination
          string filePath = System.IO.Path.Combine(_results, _fileName + DateTime.Now.ToString("yyyy-MM-dd_HH:mm:ss") + ".xlsx");
  
          FileStream newFile = new FileStream(filePath, FileMode.Create, FileAccess.Write);
  
          //Construct new Excel package
          ExcelPackage pck = new ExcelPackage(newFile);
  
          //Instantiate workbook object
          var ws = pck.Workbook.Worksheets.Add("Query1");
  </code></pre>
  
  <p>Here's the contents of the <code>filePath</code> <code>string</code> variable.</p>
  
  <pre><code>\\\\prdhilfs03\\l&amp;i-sales&amp;mkt\\WORKAREA\\Agencyservices\\Shared\\AIC\\Analysts_and_Reporting\\Realignments\\2014\\MassUpdateTesting\\Results\\ErroredRows_2014-01-30_13:46:33.xlsx
  </code></pre>
  
  <p>This line throws the error mentioned above: </p>
  
  <pre><code>FileStream newFile = new FileStream(filePath, FileMode.Create, FileAccess.Write);
  </code></pre>