Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Aug 22, 2014 12:39 am

I'm trying to load a doc file and convert it to PDF but I get an error on the code LoadFromFile

Code: Select all
string path = "D://";
Spire.Doc.Document documentLoad = new Spire.Doc.Document();
documentLoad.LoadFromFile(path + "sampleDoc1.doc");
documentLoad.SaveToFile(path + "convertToPDF.pdf", Spire.Doc.FileFormat.PDF);


this is the error in LoadFromFile line:

An exception of type 'System.MissingMethodException' occurred in Spire.Doc.dll but was not handled in user code

Additional information: Method not found: 'System.IO.MemoryStream sprẮ.ᜃ(System.String)'.


Please help. Thanks.

hazelD.pc
 
Posts: 6
Joined: Thu Aug 14, 2014 6:39 am

Fri Aug 22, 2014 1:52 am

Hello,

Thanks for your feedback.
Please attach your document here or send it to our email (support@e-iceblue.com) for our testing, which would be helpful to reproduce the issue and work out the solution for you ASAP.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc