I'm using Apose.Words inside a sharepoint event handler to modify word documents programatically, that were added to a document library.
Everything works fine on my Windows 2004 32bit staging server, but when I deploy the dll to the x64 production system, I receive a AccessViolationExceptioen in the call to:
Document doc = new Document(stream);
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
at ᒋ.ᑪ.ᖧ(BinaryReader ൈ)
at ᑇ.ᑢ.ᄉ(Stream ك, String ء)
at ᑇ.ᑆ..ctor(Stream stream, String password, Document doc)
at Aspose.Words.Document.࠾(Stream ك, LoadFormat , String ء)
at Aspose.Words.Document..ctor(Stream stream)
at DocEditEventHandler.UpdateDocument(Stream inStream, Stream outStream, String docNo, String version, DateTime checkinDate, String fileName)
Any ideas how to fix this? Probably an incompatibilty issue with Aspose.Words.Net and W2K3 x64?
Thanks and Regards,