I'm trying to create a new excel file and i do this but when i publish my website in to IIS the following error appears:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 476: public void appendImage(string image)
Line 477: {
Line 478: worksheet.Shapes.AddPicture("C:\\Docs\\" + image, Microsoft.Office.Core.MsoTriState.msoFalse,
Line 479: Microsoft.Office.C ...
Go to the complete details ...