Evaluation message for Full License using document viewer API for .NET

Hello,

We are using .net platform and have same application on two web servers. Application on one web server is working fine, but on other server we are getting “Created with evaluation version of GroupDocs.Viewer” message. We checked settings that you mentioned in topic: "Evaluation Only" message for Full License - #7 by usman.aziz, restarted the server, changed time zone but nothing helped.
SubscriptionExpiry on our license is 20190423 and we haven’t upgraded Groupdocs version, but we only recently started having this problem. What is strange is that same code is working fine on one server, but evaluation is showing up on second server. Do you have any other suggestion how to resolve this?

Thank you in advance!

Kind Regards,
Dragana Eric

1 Like

@deric,

Can you please specify your license type.

Did you deploy the application on second server recently or it was already working on second server and recently started creating issue?
Furthermore, please share following details:

  • OS details/version
  • API version that you are using in the application

Hello Atir,

License type is ‘Site OEM’.
Application was working on second server and it only recently started creating issue.
OS: Windows Server 2012R2 Standard
API version:18.3.0

Thank you,
Dragana

1 Like

@deric,

In order to further investigate this scenario, we’d like to gather more details. Please run this application on server and share the log.txt file (that will be created by the application) with us. You have to add your license file in the project.

@atirtahir3,

Please find modified test application that includes our project for obtaining licenses and results with errors: testApplication2

1 Like

@deric,

We are investigation it. Your investigation ticket ID is VIEWERNET-2315. As there is any update, you’ll be notified.

@atirtahir3,

I can see status change from New to Feedback (VIEWERNET-2315 ---- Status : Feedback )
but I didn’t receive any notification and I don’t see any link to VIEWERNET-2315 that I could open/view.
Do you have any update?

Thank you!
Dragana

@deric,

First of all let’s have a look at the issue’s background.
This issue happens because GroupDocs.Viewer 18.3 references Aspose.Words 18.1 internally and ConsoleTester also indirectly references Aspose.Words (through ThirdPartyLicensesManager ) but of higher version 18.6. It seems that Auto-generate binding redirects was enabled and the binding redirects record listed above was added to the config file and as a result version 18.6 of Aspose.Words assembly was loaded into a process instead of the expected 18.1 version. The removal of assembly binding redirect should resolve the issue.
In order to resolve the issue please remove assembly binding redirect record from the app.config file and make sure that auto_generate_binding_redirects.png (40.2 KB) is disabled in the project settings. The following lines should be removed:

 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Aspose.Words" publicKeyToken="716fcc553a201e56" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-18.6.0.0" newVersion="18.6.0.0" />
      </dependentAssembly>
 </assemblyBinding>

We wouldn’t recommend you to refer GroupDocs.Viewer and Aspose.* libraries in the same project as it may lead to unexpected issues in run-time. To avoid such issues it is better to keep Viewer-related logic in one application and Aspose-related logic in the other.

@atirtahir3,

Thank you for this information. It resolves error in license test application.
Do you know what version of Aspose.Email.dll & Aspose.Pdf.dll are compatible with Aspose.Words 18.1?

Thank you!
Dragana

1 Like

@deric,

You may not face any compatibility issue. The issues may appear when you use GroupDocs and Aspose libraries in the same project.