This project has moved and is read-only. For the latest updates, please go here.

Known issues with Azure Web sites?

Sep 7, 2012 at 8:03 AM
Edited Sep 7, 2012 at 9:38 AM

I've had EPPlus working on a Azure Web Role for some time now, but I've been experimenting with Azure Web Sites lately and there I'm getting a very weird error; 



[DivideByZeroException: Attempted to divide by zero.]
   System.Decimal.FCallDivide(Decimal& d1, Decimal& d2) +0
   OfficeOpenXml.Drawing.ExcelDrawing.SetPixelWidth(Int32 pixels, Single dpi) +465
   Compliance.Net.CommonCode.PivotGenerator.GeneratePivotTable(ExcelWorksheet dataWorksheet, ExcelWorksheet pivotWorksheet, Int32 endRow)


I am getting this on the same data and code as is running on Azure Web Role. 

Any ideas?


Also posted on Stackoverflow: 

Sep 17, 2012 at 8:59 PM

I'm having the same problem inserting an image, again in SetPixelWidth