Server side error don't get displayed


#1

Hi support, i have downloaded latest version of group docs viewer with showcase samples in MVC,in my code if there is any 404 Server exception ( like i am checking S3 for documents & document dont exists in S3 then viewer should show exception message, on server side its raised but js code dont show anything) but its not showing any message & viewer keeps on loading documents for unlimited time.


#2

@tarif,

We have tested your scenario but unable to reproduce the issue at our end. The application is showing the error message in the popup (see this) in case the requested file is not found on Amazon S3. Would you please share with us more details to reproduce the issue at our end?


#3

Thanks for reply, here is screen shot of server error, Screen Shot 12-06-17 at 08.17 PM.PNG (149.7 KB) & font end is still showing loading your contents.


#4

@tarif,

Thanks for your response. The error message you shared in the screenshot is generated by AWSSDK.Core library and the front end application displays this error message in a popup (as shown here). The viewer control in the showcase application consists of two layers. When the document is displayed inside the viewer control, the first layer (showing “Loading your content…”) gets hidden. Whereas, in case of any error, the content of the document is not displayed in the viewer control and therefore, you are able to see the first layer saying “Loading your content”. This behavior is not related to any feature of the GroupDocs.Viewer for .NET API and is specific to the front end application.

Please note that the applications provided in the Showcase are to demonstrate the implementation and working of the features exposed by GroupDocs.Viewer API. As these applications are open source, you can feel free to modify them as per your requirements. We would also recommend you try out our more improved and enhanced open source applications listed below.