Free Support Forum - groupdocs.com

Version Upgrade Support (2.6.0 to 3.6.0)


#1

Hi


We were using Group Docs version 2.6.0 previously, and now we are about to update to version 3.6.0 for availing some features. We applied the same licence file which we used for the version 2.6.0 in the newer version. In the current version licence is applied in Global.asax file as shown below.

public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
GlobalConfiguration.Configure(WebApiConfig.Register);

GroupDocs.Viewer.License lic = new GroupDocs.Viewer.License();
lic.SetLicense(Server.MapPath(MPulseConstants.GroupDocsLicensePath));
}
}
After the update we found that the document is loading correctly, but a red message is shown at the top of the document in the viewer as Evaluation Only. Created with Aspose.Words. Copyright 2003-2016 Aspose Pty Ltd.”.

And the viewer shows only 2 pages of the document, even if the document have more than two pages.

Please let us know if we are missing something.





#2

Hi there,


We appreciate that you are upgrading to the latest version of GroupDocs.Viewer for .NET.

There can be following reasons for this behavior of the API.

  1. Path to license file is not correct
  2. License is expired
  3. API is picking up cached information of the document which was generated in evaluation mode.

Following are the actions you can perform against each of the above mentioned reasons.

  1. Verify path of the license file in your application
  2. Verify whether the license is expired or not
  3. Remove files/folders in temp folder located in storage directory and then render document again

Please try and share your feedback with us. We shall be waiting for your response.

Warm Regards


#3
Hi Usman ,

Thanks for your response.

As per your suggestion, we have verified the path of the licence file and removed the cache file by deleting the temp folder created in App_Data folder.

But, these two processes did not solve our issue. We also noticed that the second page of the document is not loading.

We opened the licence file in a notepad and found two properties which are as follows:
20160723
3.0

We wanted to know whether this would mean that the licence expired on July 23rd, 2016.

Please confirm.



#4

Hi there,


Yes, you are right. Your license has expired on 23 July, 2016 therefore the API is working in evaluation mode. You will have to renew your license or you can get temporary license (valid for 30 days) to evaluate all the features of GroupDocs.Viewer for .NET API.

If you will have any further questions, feel free to ask.

Warm Regards