Hi,
I’m getting following exception while opening a file. I’m using .net 5.0 version
oExcel = new Workbook();
oExcel.Open(fileName);
[ArgumentNullException: Value cannot be null.
Parameter name: value]
System.BitConverter.ToUInt16(Byte[] value, Int32 startIndex) +112
Aspose.Cells.Worksheets.x2c45ef9d1c1bcd19(Int32 x8bbd612fedd277cd) +160
xabb58b8f2887ff8e.xa969cda0bb1fbd14.x285d1beca6eae945(xd1433fea8b23a6e7 x87df9e1bd68414ab, Style x44ecfea61c937b8e, Boolean xd1a5fc812ca5d8d9) +282
xabb58b8f2887ff8e.xa969cda0bb1fbd14.x86f0c25c32dda935() +720
xabb58b8f2887ff8e.xa969cda0bb1fbd14.x06b0e25aa6ad68a9(XmlTextReader xb9763b0038341e6c) +776
xabb58b8f2887ff8e.x9d49ab444acbddce.x06ec73ba9728bac8() +220
xabb58b8f2887ff8e.x9d49ab444acbddce.x06b0e25aa6ad68a9() +157
xabb58b8f2887ff8e.xe95a61e48a6637a3.x2e7f798eabefe5b4(Workbook xce16031e3118b903, Stream xcf18e5243f8d5fd3) +80
Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type) +1013
Aspose.Cells.Workbook.Open(String fileName) +215
GF.FileToServicer.Controllers.HomeController.InitializeExcelSheet(HttpPostedFileBase LoanFile, String filePrefix) in C:\Project\GF.FileToServicer\GF.FileToServicer\Controllers\HomeController.cs:73
GF.FileToServicer.Controllers.HomeController.ImportAuditLoans(HttpPostedFileBase LoanFile) in C:\Project\GF.FileToServicer\GF.FileToServicer\Controllers\HomeController.cs:97
GF.FileToServicer.Controllers.HomeController.AuditorImportAssignment(HttpPostedFileBase LoanFile) in C:\Project\GF.FileToServicer\GF.FileToServicer\Controllers\HomeController.cs:146
lambda_method(Closure , ControllerBase , Object[] ) +181
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +211 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass81.<BeginSynchronous>b__7(IAsyncResult _) +10 System.Web.Mvc.Async.WrappedAsyncResult
1.End() +57
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +48
System.Web.Mvc.Async.<>c__DisplayClass39.b__33() +57
System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +223
System.Web.Mvc.Async.<>c__DisplayClass37.b__36(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResult1.End() +57 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +48 System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +24 System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +102 System.Web.Mvc.Async.WrappedAsyncResult
1.End() +57
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +43
System.Web.Mvc.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult) +14
System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult1.End() +62 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +57 System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23 System.Web.Mvc.Async.WrappedAsyncResult
1.End() +62
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +47
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +47
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9657896
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155