I am working on a .NET app to do a mail merge and evaluating ASPOSE for the functionality we need. When I run the following code (this is the specific line that errors out)
doc.Save("COBRA Request.doc", SaveFormat.Doc, SaveType.OpenInBrowser, Me.Response)
I receive the following error:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
If you could let me know how to resolve, that would be great.