We're able to open a .doc file from a blob, but we're getting the following error when attempting to open a .docx file from a blob.
The following retrieves the file:
The file is then passed into the following function, which calls the dockerized API provided by Syncfusion:
The following error is in the console of the dockerized API:
word-processor-server_1 | fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
word-processor-server_1 | An unhandled exception has occurred while executing the request
word-processor-server_1 | Syncfusion.Compression.Zip.ZipException: Zip exception.Can't locate end of central directory record. Possible wrong file format or archive is corrupt.
word-processor-server_1 | at Syncfusion.Compression.Zip.ZipArchive.Open(Stream stream, Boolean closeStream)
word-processor-server_1 | at Syncfusion.DocIO.DLS.Convertors.DocxParser.Read(Stream docStream, WordDocument document)
word-processor-server_1 | at Syncfusion.DocIO.DLS.WordDocument.OpenDocx(Stream stream)
word-processor-server_1 | at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(Stream stream, FormatType formatType, String password)
word-processor-server_1 | at Syncfusion.EJ2.DocumentEditor.WordDocument.Load(Stream stream, FormatType type)
word-processor-server_1 | at EJ2DocumentEditorServer.Controllers.DocumentEditorController.Import(IFormCollection data) in /source/src/ej2-documenteditor-server/Controllers/DocumentEditorController.cs:line 49
word-processor-server_1 | at lambda_method(Closure , Object , Object[] )
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
word-processor-server_1 | at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
word-processor-server_1 | at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
word-processor-server_1 | at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
word-processor-server_1 | at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Attached are a few of the documents we've tried that have resulted in errors.
Documents attached in previous message.
|
corporate_40d03f81.docx |
Resaved-document.docx | ||||||||||||||||||||||||||||
|
|