After installing (17.6.0.0) of dll to the project, code throwing exception

After installing (17.6.0.0) of dll to the project, code throwing exception. The reason I actually updated was that it was triggering this error
" Unsupported version of the stylesheet. For free technical support, please post this error and the file in the Aspose.Words Forums https://forum.aspose.com/c/words/8."

But after installation it is throwing exceptions in my current code

Hi Keshav,

Thanks for your inquiry. Please share the exception details and please also attach the following resources here for testing. We will test the scenario at our end and will guide you accordingly.

  • Your input document.
  • A sample application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

Best Regards,

Hi Tilal
Here is the code and Errors that I get:

https://www.dropbox.com/s/qfpffcq69tr5sib/aspose-errors-newversion.docx?dl=0

Thanks
Keshav

Hi Keshav,

Thanks for your feedback. As already requested above, please share a sample console application along with your input document to replicate the issue at our end. Please also confirm your old Aspose.Words for .NET version, which was working fine at your end.

Best Regards,

Please review this code:
https://www.dropbox.com/s/js096wok29bii3y/ConsoleApplication%20with%20notes%20inside.zip?dl=0

This is the Console Application that was running in my old Version and is not running on the new version. - FYI

3.0 was working fine

@karya,

Thanks for sharing your console project. We have tested your shared console application with Aspose.Words for .NET 17.6.0 with a slight change and unable to notice your reported exception.

Old code line:

FormFields formfields = para.Range.FormFields;

New code line:

FormFieldCollection formfields = para.Range.FormFields;

However, if you are getting exception with some updated document then please share it here as well. We will further investigate the issue and will guide you accordingly.

Best Regards,