title: EPPlus opening excel .xlsx file error
body: <pre><code>public void DailyOvertime(string fname)
    {
        var existingFile = new FileInfo(fname);
  
        using (var package = new ExcelPackage(existingFile))
        {
            // Get the work book in the file
             ExcelWorkbook workBook = package.Workbook;
            if (workBook != null)
            {
                if (workBook.Worksheets.Count &gt; 0)
                {
                    // Get the first worksheet
                    ExcelWorksheet currentWorksheet = workBook.Worksheets.First();
  
                    // read some data                    
                    var Monday = currentWorksheet.GetValue(11, 4);
                    var Tuesday = currentWorksheet.GetValue(13, 4);
                    var Wednesday = currentWorksheet.GetValue(15, 4);
                    var Thursday = currentWorksheet.GetValue(17, 4);
                    var Friday = currentWorksheet.GetValue(19, 4);
                    var Saturday = currentWorksheet.GetValue(21, 4);
                    var Sunday = currentWorksheet.GetValue(23, 4);
  
                }
  
            }
        }
    }
  </code></pre>
  
  <p>I am getting an error while running this code. Every time I get to the line <code>ExcelWorkbook workBook = package.Workbook;</code> the program will break and I cant figure out why. I'm trying to open an .xlsx file and everything seems to be working fine up to that point.</p>
  
  <p>I did notice that this message was coming up in the Locals:</p>
  
  <p><code>Workbook   'package.Workbook' threw an exception of type 'System.UriFormatException'   OfficeOpenXml.ExcelWorkbook {System.UriFormatException}</code></p>
  
  <p>Any help would be appreciated Thanks in advance! </p>