Find attached a file that has given us a InvalidCastException when trying to load the document. I have reported Invalid Cast Exceptions before I believe this to be different though.
{System.InvalidCastException}
[System.InvalidCastException]: {System.InvalidCastException}
HelpLink: Nothing
InnerException: Nothing
Message: "Specified cast is not valid."
Source: "Aspose.Words"
StackTrace: " at x1a62aaf14e3c5909.xfbb3f4be330f4086.x707eda0bf8f1735b(BinaryReader x44008b73fc5f9672)
at x1a62aaf14e3c5909.xc2d70347f7484382.x92293779605aaa59(BinaryReader x44008b73fc5f9672)
at x1a62aaf14e3c5909.x57b6730bb29ba4a9.x92293779605aaa59(BinaryReader x44008b73fc5f9672)
at x1a62aaf14e3c5909.x7e738ecc9d58b06d.x06b0e25aa6ad68a9(BinaryReader x8ac9765f43e4b683, Int32 x19a21d604769e75b, Int32 x9e4be1b404ab074b, BinaryReader x44008b73fc5f9672)
at x16f9a31f749b8bb1.x0f8a9a895bdf560e.x06b0e25aa6ad68a9()
at Aspose.Words.Document.xd93192da484a2b72(Stream xcf18e5243f8d5fd3, String xe8e4b5871d71a79a)
at Aspose.Words.Document.x5d95f5f98c940295(Stream xcf18e5243f8d5fd3, LoadFormat xdef7b99b7fc67519, String xe8e4b5871d71a79a)
at Aspose.Words.Document…ctor(String fileName, LoadFormat loadFormat, String password)
at Aspose.Words.Document…ctor(String fileName)
at NonWordDoc.Form1.Button1_Click(Object sender, EventArgs e) in D:\Projects\Generis\UsefulTestApplications\AsposeDocumentTest\Form1.vb:line 82"
TargetSite: {System.Reflection.RuntimeMethodInfo}