I use Aspose.Cells to read data from Excel File.
if i use the code in console is ok but when i use my code in SharePoint i receive an error : input string was not in a correct Format
string URL: `http://xxxxx/file.xlt`;
WebClient Client= new WebClient();
MemoryStream stream = new MemoryStream(Client.Download(URL));
Workbook book = new Workbook();
book.Open(stream, FileFormatType.TabDelimited); ///// Error
note: this code is Ok in Console but SharePoint no