VB.NET PDF: How to HTML5 PDF Viewer PDF Create PDF Export File & Page Process PDF Read PDF Write Form Process Document Protect Annotation & Drawing PDF Print WPF PDF Viewer Work with Other SDKs Barcode Read Barcode Create OCR Twain
Home ›› XDoc.PDF ›› VB.NET PDF: On IIS

VB.NET PDF - VB.NET HTML5 PDF Viewer Deployment on IIS

How to Quick Deploy VB.NET HTML5 PDF Viewer on IIS

Look for HTML5 PDF Editor?

EdgePDF: ASP.NET PDF Editor is the best HTML5 PDF Editor and ASP.NET PDF Viewer based on XDoc.PDF, JQuery, HTML5. It supports ASP.NET MVC and WebForms projects.

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

asp.net pdf viewer user control c#, edit pdf in asp.net mvc, pdf preview in asp net c# example, asp.net remove image from pdf page, mvc display pdf in partial view, asp net replace text from pdf javascript, free asp.net tiff viewer.

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

Deployment on IIS: Operation under Windows 7

Copy corresponding DLL(x86 or x64) in the download package to the “Bin” folder of the test project.


























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

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

After adding relative dlls, configure the Web.config:

  If your IIS server .NET framework is 4.0 or higher, please copy the content in the Web(for .net4.0 or higher).Config to Web.config.

  If your IIS server .NET framework is 2.0, please use the Web.config.

After steps above, you can deploy your project to IIS server.

  Open Internet Information Services Manager;

  Right-click “Sites” and select “Add Web Site”;

  According to your  situation, set the “Site name”, and set the “Physical path” to the place where you store XDoc.PDF.HTML5 Viewer Demo. Last, set the “Port” that monitors the application.

  Click ok to complete deploy your project;

  Click "Application Pools", click "Set Application Pool Defaults…" in the right panel, and set the value "Enable 32-Bit Applications" in accordance with the selected DLL (x86 set true, x64 set false) in the pop-up window.


Q: If you configure IIS to run and 500.19 error occurs, then it may be caused by:

  1. Not registered the .NET Framework to the IIS. (One of reasons: install a .net framework before the installation of iis.)

  2. The site configured in IIS has no sufficient authority to operate. (Modify permission)

  A: There are some solutions:

           1. cd  to  C:\Windows\Microsoft.NET\Framework64\v2.0.50727,Command  to  re-register .NET Framework to the IIS: aspnet_regiis-i.

           2. Right-click the correspond site-> Edit Permissions -> Security -> Group or user names -> Edit -> Add -> Add Everyone usersgiven Full Control permissions.

Q: Could not load file or assembly “RasterEdge.Imaging.Annotation” or any other one assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.”

  A: Please check your IIS configure as following ways:

           1. If you are using the .NET framework 4.0 or higher dlls, confirm that Web.config is using the content in Web(for .net4.0 or higher).Config file.

           2. After checking first step, if you are still facing the issue, confirm that:

              a. If you are using x64 dlls, “Application Pools” -> "Set Application Pool Defaults…" -> "Enable 32-Bit  Applications" should be false.

              b. If you are using x86 dlls, “Application Pools” -> "Set Application Pool Defaults…" -> "Enable 32-Bit  Applications" should be true.