We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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 http://www.aspose.com/forums/ShowForum.aspx?ForumID=75."

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:

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:

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,