Missing Method Exception with Aspose

Received the following error message in Event Viewer:

System.MissingMethodException: Method not found: ‘System.Collections.IEnumerator Aspose.Words.NodeCollection.GetEnumerator()’.
at .()
at .(Document )
at .( , SaveOptions )
at . ( , SaveOptions )
at . ( , SaveOptions )
at . ( , SaveOptions )
at GroupDocs.Conversion.Handler.ConversionHandler.( , SaveOptions )
at < path file calling function here>

Aspose dll and pdb exists and is in correct place, but error is still called. Unsure of how to fix it to make it so Aspose is found and used by GroupDocs

@bayank,

In order to investigate this issue at our end, we need following details from you:

  • GroupDocs and Aspose APIs versions
  • Problematic file(s)
  • A simple console based project using that issue could be reproduced

GroupDocs.Conversion and Aspose.Word: both are version 18.7

I have a file and project sample to show the problem, but am unsure of how to post the zip file to this post. Tried using the upload function multiple times but with no success. It says it uploads to the clipboard but do not know how to access it from there.

@bayank,

Because of uploading size limit, you may not be able to upload the project. However, you can upload it along with problematic files to some cloud storage (Dropbox or Google drive) and share link here. Please remove license file before uploading the project.

The issue is when converting specific pages of Word to Pdf when using those versions of the APIs listed above:

link

https://drive.google.com

Let me know if this this link does not work and you still cannot access the files

@bayank,

We can successfully convert the provided Word file to PDF by upgrading/integrating most recent versions of both APIs:

  • Aspose.Words for .NET 19.4.0
  • GroupDocs.Conversion for .NET 19.3.0

Please see this screenshot - conversion process.JPG (167.9 KB). Hence, we’d recommend you to utilize latest versions of both APIs and share your feedback.