HI
Hello Aravind,
We cannot open the document “When i try to save this file many times so then it.docx” from the “When.rar” archive. It seems that this document is corrupted.
Please send us a correct document.
Hi
Hello Aravind,
Now we were able to download and open your document successfully.
1. As you can see from yours screenshots, the real description of the error is hidden by your server’s settings. Go to the web.config, “configuration”->“system.web” section, and make sure that If you don’t want to expose yours errors to the public, you can use (in case if you are able to login to your site from the machine where it is hosted). Here you can find out more info about that. We need that message for understanding the reason of this error.
2. We do not suggest you to invoke GroupDocs.Viewer from JavaScript. GroupDocs.Viewer has a lot of updates, and these updates are releasing quite often. We suggest you to use standard “Viewer.ClientCode().TargetElementSelector…”
The code below was generated by the latest version of the GroupDocs.Viewer. Compare it with yours JS code and evaluate a huge discrepancy. This also may be the reason of the error.
3. If particular document is displayed correctly in other browsers and incorrectly in Internet Explorer, then we need this document for checking this out, reproducing and reporting to developers. This is the only way how to fix it.
4. There are some useful tips how to speed-up performance. First of all, try to use HTML-rendering mode (GroupDocs.Viewer 2.0 – Enhancements and New Features in the Document Viewer for .NET Library (Part A), section “HTML-Based Rendering Mode”). Second tip is to use “PreloadPagesCount(1)” method. When using this method GroupDocs.Viewer will begin to load document to the client-side when first page of the document will be converted. When this method is not used, GroupDocs.Viewer converts all pages of a document and only then sends it to the client-side. Also, if this is possible for your business-logic, you can disable thumbnails (“ShowThumbnails(false)”) - this will increase performance too.
If you will have more questions please feel free to contact us.
Hi
Hello Aravind,
1. Enabling custom errors mode can show us the real reason of the issue. It is hard to understand what is wrong without seeing the reason.
2. You can use the code from the article “How to use GroupDocs Viewer for .NET in an ASP.NET Project”. It contains all necessary source code for using GroupDocs.Viewer in the WebForms project.
3. Ok, but we still need this file for reproducing, investigating and fixing the issue.
4. It’s unclear about what config you are talking. For enabling HTML-based rendering mode you should use “.UseHtmlBasedEngine(true)” method, and for preloading pages - “.PreloadPagesCount(x)” method. For example:
<%=Viewer.ClientCode()
.TargetElementSelector(“#test
”)
.FilePath(“candy.pdf”)
.UseHtmlBasedEngine(true)
.PreloadPagesCount(5)
%>
If you will have more questions please feel free to contact us.