Guide for C#
Quick Evaluation
Core Document Formats
Additional Features

C# Imaging - How to Run Web Viewer Sample

Follow Steps to Quickly Evaluate C#.NET Web Viewer Sample Project

Visual C#
Home > .NET Imaging SDK > C# > Quick to Run Web Viewer

"This online guide content is Out Dated!
    Please get the latest XDoc.HTML5 Viewer C# Developer Guide here.

RasterEdge DocImage SDK for .NET package includes sample C# project for how to quickly evaluate .NET Web Doucment and Image Viewer in Visual Studio and IIS applications. C# programmers may easily test all the best-in-class functions of our Web Viewer Control Library.
Related .net document control helps: mvc text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET tiff viewer control: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control open word document in browser: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS... edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm... document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
This page gives detailed examples for how to run C#.NET Web Viewer demo project in Visual Studio and IIS. Please follow steps below to run the project.
C#.NET Web Viewer Quick Evaluation

Run C# Web Viewer Demo Project in Visual Studio

After you download the latest version of RasterEdge.DocImagSDK, please do as follows:
  1. Unzip the download DocImage SDK for .NET package and you can find a project named ReasterEdgeWebViewer in the "Demo projects" folder. This demo is for your testing purposes;
  2. Open Visual Studio, click "File" ->"Open"->"Web Site", then locate C#.NET test project;
  3. Add reference which is named RasterEdge.Imaging.WebViewer.dll from the download package to your C# web project. Once you do this, dependencies will automatically be included in your project.
If uploading document is always not successful, please pay attention to the followings:
  • Make sure the Default page is the Default.aspx. Append /Default.aspx in the address bar if necessary.
  • Don't add SVGWebViewer. DLL to the C# project.

Set up C# Web Viewer Demo in IIS

  1. Unzip the download package and you can find a C#.NET project named ReasterEdgeWebViewer in the "Demo projects" folder. This demo is for your testing purposes;
  2. Copy corresponding C#.NET imaging programming DLL (x86 or x64 according to your system) from download package to the bin folder of the test project. If you have tested the sample project in Visual Studio, this step can be omitted;
  3. Deploy your C# web image viewing project to IIS server.
    1. Open Internet Information Services Manager;
    2. Right-click "Sites" and select "Add Web Site";
    3. According to your situation, set "Site name", and set "Physical path" to the place where you store WebViewerDemo. Last, set "Port" that monitors the C#.NET web application;
    4. Click ok to complete deploy your C# demo project;
    5. Double-click on "Default Document" option, and check if there is a "default.aspx" item. If not, add this item through "Add" on the right.
If you configure IIS to run and 500.19 error occurs, then it may be caused by:
  • Not registered .NET Framework to IIS. (One of reasons: install a .NET Framework before the installation of IIS.)
  • The site configured in IIS has no permission to operate. (Modify permission)
Here are some solutions:
  • cd to C:\Windows\Microsoft.NET\Framework64\v2.0.50727, Command to re-register net framework to the iis:aspnet_regiis-i.
  • Right-click the correspond site-> Edit Permissions -> Security -> Group or user names -> Edit -> Add -> Add Everyone usersgiven Full Control permissions.
More Tutorials for Using .NET Web Viewer SDK!
Check to see more tutorials for how to use .NET Web Document and Image Viewer Control in C# programs.

Recommend this to Google+ is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster