Trying to update GroupDocs version from 3.7.0 to 17.11.0 in our .Net application through Nuget package. Although package is installed successfully but getting errors for classes like FileDataOptions, WordsFileData, ContentControl. Can you please suggest what could be wrong? Although earlier these classes were present under GroupDocs.Viewer.Converter.Options, GroupDocs.Viewer.Domain namespaces.
We’d recommend you to migrate to the latest release of the API 20.3. Viewer class introduced as a single entry point to manage the document rendering process to any supported file format. Have a look at the migration notes.
We have an updated example project here on GitHub. Please explore this project and share your feedback.
Does it mean that we have to rewrite the code which we had earlier if we want to upgrade the version?
As you are using 3.7.0, it’s a quite old version of the API. With the passage of time we keep introducing enhancements/improvements and new features in the API. Eventually, new classes and methods are implemented and old classes/methods become obsolete.
You have to follow the release notes in order to see all the API and backward incompatible changes. However, our GitHub example project is totally updated as per latest version of the API.
So, yes you have to follow the release notes and have to upgrade your code accordingly.
We tried to upgrade to version GroupDocs.Viewer 19.4.0 but the error which we thought could be fixed with version upgrade is still there. While viewing most of the excels which have pivot tables we are getting error " The row index should not be inside the pivottable report". We thought this could be fixed if we upgrade the GroupDocs version but still same error. Can you please help us to identify in which scenarios this error occurs.
Please share the problematic Excel file, exception details/stack trace with us and we’ll investigate this issue.
Cannot share excel file but attached is the error stack trace if it helps.GroupDocs_Error.png (243.0 KB)
One more query do we need to get different license for different version of GroupDocs?
Please check your license expiry date and if it’s greater than the release date of the API version that you are using then license will work. Otherwise, you have to renew your license. For example, your license subscription expiry date is 12/12/2019 and the release date of the API version that you are going to use is 15/12/2019, license will not work.