title: System.ArgumentException: Illegal characters in path. error
body: <p>I`m getting an ArgumentException from the following code:</p>
  
  <pre><code>string strPath="C:\somename.xls";
  startPath=System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName);
  filePath = System.IO.Path.Combine(startPath, strPath);
  </code></pre>
  
  <p>I found this code on Stack Overflow.
  Link:
  <a href="https://stackoverflow.com/questions/15293451/ccopy-protected-worksheet-to-another-excel-file">C#:Copy protected worksheet to another excel file</a>
   I don't exactly know what it is. Please tell me what it is. This code I'm building into an exe.</p>
  
  <p>Lastly, I need to Copy one worksheet to another file.</p>
  
  <p>What`s wrong am I doing? I deploy this in server.</p>