Free Support Forum -

Error on 64 bit platform - attempted to read or write protected memory

I am running words 4.4.3 and developing in Net 2.0 on a 32 bit vista platform. The program works correctly on the development computer. When deployed to the 64 bit server, the attempted to read or write protected memory error occurs. It occurs when I try to create the Words.Document object on either a file or a stream.


Thanks for your inquiry. Could you please attach your input document for testing.

Best regards.

Here is the document


Thanks for additional information. I will install Win2003 64bit on my side and try to reproduce this problem. I hope that I will be able to provide you more information tomorrow.

Best regards.

If I send you a test build of Aspose.Words.dll will you be able to check there is no more protected memory problem on your deployment computer?


I suspect the problem is related to 3rd party obfuscation that we use.

Please try this attached dll first (latest version, obfuscated using same settings as before). It might be still has the problem.

I will attach another one to try in a minute.

We have released a new version of Aspose.Words that contains a fix for this issue.

The new version of Aspose.Words is available for download from here.

Best regards.

I have tested this and it resolves my issue.

Thank you.