Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, February 13, 2017 3:40:02 PM(UTC)

Roberto  
Roberto

Groups: Registered, Tech Support, Administrators
Posts: 39

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)

Using the MVC project (C:\LEADTOOLS 19\Examples\JS\Documents\DocumentViewer) in our main installation (https://www.leadtools.com/downloads?category=main). You can use the following steps to configure HTTPS in our demo on Visual Studios IIS Express. I am using LEADTOOLS 19 and Visual Studio 2015.

First you need to enable SSL for App1 (then main site for the document viewer demo) and for the DocumentsService.

image1

This will generate URLs for each. Replace the project URLs in the properties page under the web tab of both App1 and the DocumentsService.

image2

Set the serviceHost url to the new https url of the DocumentsService.

image3

In index.html of App1 you will notice that the bootstrap styles and JS files are being requested over http.

image4

This will give you errors at first.
Save those locally, instead and adjust the paths. I saved them to the existing Styles and Resources directories

image5

You should be able to run the demo at this point. You may get the following messages:

image6
image7

I chose yes for both.
Once the viewer page loads you should have a secure connection like this:

image8

At this point you should have the document viewer with enabled https on IIS express.
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.057 seconds.