Free Support Forum -

View Pdf



I’m trying to implement Group docs in our project. I understand trial version has some limits. Hence, I took Evaluation license. However, I’m still facing these limits.
May I know what m I doing wrong here?
This is very uregent and we really need to move to Group Docs.

Hi Pats,

Thanks for showing your interest in GroupDocs.Viewer for .NET.

Please tell us which version of GroupDocs.Viewer for .NET you are trying to integrate in your project?

Many Thanks


Hi Pat,

Thank you for showing interest in GroupDocs products.

As a general concern, I would like to suggest you clear the temp or other cached file. Sometime the output with evaluation text is cached by the API and this cached output appears even after applying a valid license.Therefore, If the issue remains same then more specific information will be required (like below).

Which GroupDocs product is being used by you?
What is the version of the product?
How you are applying license?
Browser information.

Have a nice day!


I’m using version of GroupDocs.Viewer.


I cleared Temp. Still I’m facing issue.

We are trying to use GroupDocs.Viewer version

We are applying license in Gloal.asax as provided in example

public class MvcApplication : System.Web.HttpApplication
private string _licensePath = “D:\GroupDocs.Viewer.lic”;
protected void Application_Start()

GroupDocs.Viewer.License lic = new GroupDocs.Viewer.License();

We are trying to view in Chrome browser.

Can you help me on this piece? Its urgent.
Also, What is the max file size we support for on premise option?


Hi Pat,

Thanks for providing us the required information.

Apparently, there is nothing wrong with the code you shared in above post. You can recheck the following things in your application.

  • Path to license file is correct.
  • Remove files in temp/cache in storage folder and try again.
  • Clear browser’s cache and try again.
  • Change storage folder in configuration and try again.

Please try above mentioned tips and share your feedback. Secondly, there is no file size limitation imposed by the API.

We shall be waiting for your response. Have a nice weekend ahead.

Warm Regards


I tried all options provided above. Its still not working. Its still displaying first 2 pages only.

Please let me know.
I tried to attach the code snippet here but its not working.

$(function() {

var viewerSyle = {
ScrollView: 1,
DoublePageFlip: 2,
OnePageInRow: 3,
TwoPagesInRow: 4,
CoverThenTwoPagesInRow: 5

var localizedStrings = @LocalizationHelper.GetLocalizedStringsJson(Locales.EnUs);
var setting = {
//filePath: ‘’,
// filePath: ‘sample.docx’, //filePath: ‘ProcessFileFromStreamExample_1.pdf’,
filePath: ‘LargePdf.pdf’,
//filePath: ‘input.pdf’,
//filePath: ‘ProcessFileFromStreamExample_2.doc’,
zoomToFitWidth: true, //zoomToFitHeight: true,
showFolderBrowser: true,
quality: 90,
showHeader: true,
showPaging: true,
width: 750,
height: 600,
useHtmlBasedEngine: true,
showDownload: true,
downloadPdfFile: true,
showPrint: true,
usePdfPrinting: true,
enableStandardErrorHandling: false,
preloadPagesCount: 3,
viewerStyle: viewerSyle.ScrollView, //Layout type
showZoom: true,
minimumImageWidth: 900,
localizedStrings: localizedStrings

var ua = window.navigator.userAgent;
var msie = ua.indexOf("MSIE ");

if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv:11./)) // If Internet Explorer, return version number
setting.useHtmlBasedEngine = false;
else // If another browser, return 0
setting.useHtmlBasedEngine = true;



// EnableRightClickMenu = false
//$(’#viewerHtmlDiv’)[0].oncontextmenu = function () { return false; };


Hi Pat,

I checked the code snippet sent by you but there is nothing wrong with it and I am unable to reproduce your issue. Can you please check the expiry date of the license file? You can do it by opening the file in some editor and find SubscriptionExpiry tag.

Furthermore, if the license is not expired, please share your application through Google Drive so that we can find out the issue by testing your application.

Note: This post has been marked as private. Therefore, any file or information shared here will be accessible only by you and GroupDocs staff members.

We shall be waiting for your response.

Best Regards


Thanks a lot. I checked the license. Its expiring on 2016-08-19.

Below is the zip file link along with test files I was trying.
Largefile.pdf throws some error.
sample.docx and input.pdf works but only shows first 2 pages.


Hi Pat,

Thanks for your cooperation.

We shall get back to after doing the investigation. Please stay tuned.

Warm Regards


Hi Pat,

Thanks for your patience.

We have tested your application with different scenarios at our end but could not reproduce licencing issue. As a next step, we will require your license file to check if there is some issue with that. Please send us the license file you are using. We shall be waiting for your response.

Warm Regards


PFA zip file. It contains my license copy.


Also did you try the test files I had attached earlier? They are in google drive I had shared earlier.


Hi Pat,

Thanks for sharing required information with us.

We did a thorough investigation on your provided documents and application but could not reproduce your reported issues. We applied your license and its working without imposing any trial limits. All pages of the documents are loading and I have also attached a screenshot for you. We recommend you to please use latest version (3.4.0) of GroupDocs.Viewer for .NET API.

For LargePdf.pdf, can you please share the screenshot of error message you are getting?

Thanks for your cooperation in this regards.

Warm Regards


Can you share the code? Also, do we require Aspose.Words dll?

I’m still getting following message over document:
Evaluation Only. Created with Aspose.Words. Copyright 2003-2016 Aspose Pty Ltd.

Can we have webex meeting where I can share my screen and share issue details?


Hi Pat,

We used the same application without any changes that you shared with us here. The only possible reasons are

  1. Path to license file is not valid.
  2. API is picking cached html pages and document information located in temp/cache folder in storage directory.

Please verify carefully that license file path is correct. Secondly, remove all the files in temp folder in storage location (…\SKSCollection\CredV3\GroupDoc\testfiles\Temp</b> in your provided application). Furthermore, you do not require any Aspose.Words dll. It appears in evaluation message because GroupDocs.Viewer uses Aspose.Words at back end.

In case of any confusion, please feel free to ask.

Warm Regards