Free Support Forum - groupdocs.com

Re: Performance between trail version and full version


#1

Thanks for the information! I got the temporary license key and tried in my computer, but the viewer still not get all the pages loaded. Here is my code.



public class Global : HttpApplication

{

void Application_Start(object sender, EventArgs e)

{

// Code that runs on application startup

RouteConfig.RegisterRoutes(RouteTable.Routes);

BundleConfig.RegisterBundles(BundleTable.Bundles);

Viewer.SetLicensePath(@“c:\GroupDocs\license_Folder\GroupDocs.Viewer.for.NET.lic”);

Viewer.SetRootStoragePath(@“c:\GroupDocs\ViewerStorage”);

}

}


#2

Hello,

First of all need to know, the license is applied or not. Please tell us, when document pages are displayed in the browser using the GroupDocs.Viewer, do you see the watermarks and labels, which notify that you are using the trial version? Are you able to see more then the first two pages of the document?

Also, there is a “Groupdocs.Web.UI.Viewer.IsLicensed” static property. Put it to the Global.asax at the end of the “Application_Start” method, and perform a check, for example, like this:
if (Groupdocs.Web.UI.Viewer.IsLicensed == false)
{
throw new Exception(“not licensed”);
}

If a license is not applied, please check the path to the license file and make sure that the GroupDocs.Viewer can obtain an access to it.

If you will have more questions please feel free to contact us.