Document streaming JS error in Viewer v3.0

Hi Parthpatel,


As you were informed that your provided problematic file was not reproducing issue at our side. Therefore, can you provide us the problematic source code. This thing would help us to investigate the actual issue.

Thanks in Advance

Hi Umar,


This time I have provided your sample solution with all 4 problematic files.
Please collect solution from here
Dropbox - Error - Simplify your life

we ensure that the issue is replicable in your solution as well.
For more details on each files issue please follow:

1. CreationDateValueEmpty.pdf
Whenever we try to render this document file each time we get Creation Date Value Empty error.
Error line is:
var docInfo = _htmlHandler.GetDocumentInfo(new DocumentInfoOptions(request.Path));
request.Path and _htmlHandler has correct value and works file for other file.

2. InvalidValueException.pdf
This file gives Invalid Value exception whenever try to render through Viewer.
Error line:
var docInfo = _htmlHandler.GetDocumentInfo(new DocumentInfoOptions(request.Path));

3. IncorrectRenderingAfterScrollDown.pdf
This files initially get render correct, but when we scroll down, its font get disturb.
Already Shared video, Refer this
Dropbox - Error - Simplify your life

4. candy.pdf
This files repeat the same issue as above. when ever scroll down its font also get disturb and font color is also changing for both the document.

Also the Thumbnail is not loading untill we scroll down the thumbnail.
I have shared a video above regarding same, please refer that.

Note: All example files are working absolutely fine in their native application.

Please add Licence Key and Groupdocs.Viewer(3.0)
Please stick with to html based rendering with showthumbnail : true property.


If you are able to fix this
Please share the complete solution(excluding Licence Key and Groupdocs.Viewer dll)
Share the screen shot of correct rendering.
Also share the Cache with the solution with us.

Please Acknowledge once you get all details to investigate on.

Thanks.












Hi Parthpatel,


Thanks for providing the problematic solution.

We are investigating your code and problematic files. We will get back to you once our initial investigation completes.


Please stay tuned!
parthpatel:
Hi Umar,

This time I have provided your sample solution with all 4 problematic files.
Please collect solution from here
https://www.dropbox.com/s/b2b3nq8n498td8c/GroupDocs.Viewer.WebForm.FrontEnd.zip?dl=0

we ensure that the issue is replicable in your solution as well.
For more details on each files issue please follow:

1. CreationDateValueEmpty.pdf
Whenever we try to render this document file each time we get Creation Date Value Empty error.
Error line is:
var docInfo = _htmlHandler.GetDocumentInfo(new DocumentInfoOptions(request.Path));
request.Path and _htmlHandler has correct value and works file for other file.

2. InvalidValueException.pdf
This file gives Invalid Value exception whenever try to render through Viewer.
Error line:
var docInfo = _htmlHandler.GetDocumentInfo(new DocumentInfoOptions(request.Path));

3. IncorrectRenderingAfterScrollDown.pdf
This files initially get render correct, but when we scroll down, its font get disturb.
Already Shared video, Refer this
https://www.dropbox.com/s/asiqykj34ofml5j/ScreenRecording_Viewer.zip?dl=0

4. candy.pdf
This files repeat the same issue as above. when ever scroll down its font also get disturb and font color is also changing for both the document.

Also the Thumbnail is not loading untill we scroll down the thumbnail.
I have shared a video above regarding same, please refer that.

Note: All example files are working absolutely fine in their native application.

Please add Licence Key and Groupdocs.Viewer(3.0)
Please stick with to html based rendering with showthumbnail : true property.


If you are able to fix this
Please share the complete solution(excluding Licence Key and Groupdocs.Viewer dll)
Share the screen shot of correct rendering.
Also share the Cache with the solution with us.

Please Acknowledge once you get all details to investigate on.

Thanks.













Hi Parthpatel,

Thanks for your patience,

I am going to write the response against your mentioned points.

1) We have already logged this issue in our issue tracking system. The product team is working on it

2) This issue has also been logged.

3) It is correct that IncorrectRenderingAfterScrollDown.pdf is not rendering properly in your provided solution but rendering well in our side system. I Couldn't get the cause. But I am sending you the link of new sample project which is generating correct output. Please download it from here

4) Please also check it in new sample project.

Happy Coding!


Hi Umar


Thanks for your response and for your effort to logged this issue.

The solution you shared initially running on Image based rendering.
the issue with image based rendering is other than images all documents render blurry.

When i changed the rendering mode from image based to html based, i have to face again the same issue.

Please prefer the below setting in your shared solution and try again.
$(function () {
$(’#divDocumentViewer’).groupdocsViewer({
filePath: fileName,
zoomToFitWidth: true,
showFolderBrowser: true,
ShowSearch: true,
showHeader: true,
showPaging: true,
showThumbnails: true,
BackgroundColor: ‘gray’,
showZoom: true,
width: 850,
height: 1000,
IsPrintable: true,
useHtmlBasedEngine: true,
UseInnerThumbnails: true,
showDownload: true,
downloadPdfFile: true,
showPrint: true,
usePdfPrinting: true
});
});

Thanks
Puneet Rajak

Hi Puneet,


I am sorry for the mistake in the parameters.

I have create the ticket for this problem in our issue tracking system. You would be informed through this thread as any update would be made by product team.

Thank you!