Open xlsx over http

Jan 15, 2015 at 8:36 AM
In version 3.0.x of the library I use to open a xlsx document from a webserver, make the desired changes and then send it to the browser.

While trying to migrate to version 4.0.2 the part of the code that loads the initial file started throwing the exception:

An unhandled exception of type 'System.NotSupportedException' occurred in System.dll

Additional information: This stream does not support seek operations.

The code:
  ExcelPackage p = new ExcelPackage();
  System.Net.HttpWebRequest request = (HttpWebRequest)WebRequest.Create(FullUrl);
  HttpWebResponse response = (HttpWebResponse)request.GetResponse();
  p.Load(response.GetResponseStream());

To exclude any problem with the template file, I've copied it locally and was able to read it without any issue.

Any idea?

Thanks