Free Support Forum -

Nullreferenceexception when creating new document

hi i’m new to aspose, im just checking out the evaluation version at the moment…
problem im having is this code alone:

Document doc = new Document();

causes a nullreferenceexception to be thrown. is this a restriction of the evaluation version? I can open an existing word document and put some content in it however…

another problem i have noticed is that aspose doesnt like documents saved as word documents from open office… doubt this is something you will likely fix but thought i might bring it to your attention Big Smile




Please download the latest hotfix Aspose.Word 1.9.9, this is fixed there. For more info see

If you email the documents that Aspose.Word does not like to me to we will see what we can do.

hi, cheers for the response it works well now. don’t worry about the open office functionality, it’s not something i need just thought i’d let you know.

thanks for your help