EdgeDoc: ASP.NET Document Viewer Control
Features
Tech Specs
How-to C#
Pricing

ASP.NET Web Document Viewer
Deployment on IIS


Quick HTML5 Viewer Deployment on IIS without Adding DLLs through VS







To use C#.NET RasterEdge XDoc.HTML5 Viewer on IIS, C# users should make some preparations for file viewing and manipulating on HTML5 document viewer. This page will navigate users how to deploy HTML5 Document Viewer on IIS.


In order to reduce the size of SDK package, dlls are not put into Xdoc.HTML5 ViewerDemo/Bin, all dlls can be found under RasterEdge.DocImagSDK/Bin directory.




Deployment on IIS: Operation under Windows 7



Copy according dll files listed below under RasterEdge.DocImagSDK/Bin directory and paste to Xdoc.HTML5 ViewerDemo/Bin folder.


  RasterEdge.Imaging.Annotation.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.DICOM.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.JBIG2.dll


  RasterEdge.Imaging.JPEG2000.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.Imaging.SVG.dll


  RasterEdge.XDoc.Converter.dll


  RasterEdge.XDoc.Excel.dll


  RasterEdge.XDoc.HTML5Viewer.dll


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.XDoc.PDF.dll


  RasterEdge.XDoc.PDF.HTML5Editor.dll


  RasterEdge.XDoc.PowerPoint.dll


  RasterEdge.XDoc.TIFF.dll


  RasterEdge.XDoc.Word.dll


  RasterEdge.XImage.AdvancedCleanup.Core.dll


  RasterEdge.XImage.OCR.dll


  RasterEdge.XImage.OCR.Tesseract.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


  RasterEdge.XImage.BarcodeCreator.dll ( add as you need)


  RasterEdge.XImage.BarcodeScanner.dll ( add as you need)


Open Internet Information Services Manager, right click Sites and select "Add Web Site" (as shown below). Fill in the following information:


  Site Name(for example: MyHtml5Viewer)


  Physical path (choose Xdoc.HTML5 ViewerDemo physical path)


  Port





After website creation successfully, it’s needed to set Application Pools. (see picture)


  Click Application Pools, choose Set Application Pool Default on the right.


  Set .NET Framework Version and Enable 32-Bit Applications. Please set Enable 32-Bit Applications property as ture when you use x86 dlls, or select false if not.





Open the browser, enter: http://localhost:portAdd the port number you entered before.


Note: An error may occur when you first upload file: Information error, please re-open this file. It’s caused by two reasons: pageCount is 0 or pageSize is null. This error will disappear when you reopen this file.