This project has moved. For the latest updates, please go here.

This operation is not supported for a relative URI

Mar 8, 2012 at 5:13 PM

I am getting this error after upgrading an application that reads excel files to latest release. The application was working with previous release

I get this error also when I move the excel files in a local directory

Apr 4, 2012 at 3:33 PM

I have the same error when opening the workbook. My filename looks liek this : "\\Server\Folder\File.xlsx". I tried with the version 3.0.2 and 2.9.0.1.

Here is the code :

FileInfo file = new FileInfo(_filename);

ExcelPackage pack = new ExcelPackage(file);

ExcelWorksheet sheet = pack.Workbook.Worksheets[1]; //Throws exception