Hi ,
Am using SyncFusion Tool dll in my application for Excel Generation ,
But am getting error : below , not always , but in a random manner.
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:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
[NullReferenceException: Object reference not set to an instance
of an object.]
Syncfusion.XlsIO.Implementation.WorksheetImpl.GetXFIndex(Int32 iRow, Int32
iColumn) +34
Syncfusion.XlsIO.Implementation.RangeImpl.get_Item(String name, Boolean
IsR1C1Notation) +489
GERD.Documents.Excel.ExcelHelper.CreateImportReportCompPlannerUpload(IList`1
messages, Stream output, String filePath, String errorFileName, Dictionary`2
logCount) in
C:\tfsProduction\Gerd\Releases\4.4\Source\GERD\GERD.Documents\Excel\ExcelHelper.cs:954
GERD.Web.SoscUpload.ubxTextUploadCompPlannerFile_BeforeFileSave(Object
sender, EventArgs e) in
C:\tfsProduction\Gerd\Releases\4.4\Source\GERD\GERD.Web\SoscUpload.aspx.cs:294
Syncfusion.Web.UI.WebControls.Tools.UploadBox.OnBeforeFileSave(EventArgs e)
+68
Syncfusion.Web.UI.WebControls.Tools.UploadBox.RaisePostDataChangedEvent()
+162
System.Web.UI.Page.RaiseChangedEvents() +88
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2776
|
Can you any please help on this.