We are considering purchasing GroupDocs.Conversion for .NET and while evaluating it we ran into a problem when converting certain .doc files to .pdf when the project is hosted on IIS using a custom account for the application pool identity (Application Pool -> Advanced Settings -> Identity -> Custom account).
We get the following exception:
System.AccessViolationException: ‘Attempted to read or write protected memory. This is often an indication that other memory is corrupt.’
We reproduced the problem in a new ASP.NET Web API project (new Web API project in Visual Studio 2017 using .NET Framework 4.6.2) to which we added the simple SamDocumentsController you can find attached. To see the issue, issue a PUT request (from something like Postman) to the endpoint in the controller (http://localhost:8050/api/SamDocuments/Process in my case).
The exception is thrown only for certain documents, it was thrown for 2 out of our 9 sample files, I attached one of the files for which the conversion failed (11466808 Offer Acceptance.doc).
The issue happens only on IIS (not on IIS Express) and only when using a custom account for the application pool identity, as explained above (not when using ApplicationPoolIdentity). We are constrained to use a custom account for our project though.
Have you had any similar report? Can you recommend a work-around?