LEADTOOLS Support
Document
Document SDK Examples
Enabling Https with our Document Viewer demo for IIS express testing.
#1
Posted
:
Monday, February 13, 2017 3:40:02 PM(UTC)
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.
This will generate URLs for each. Replace the project URLs in the properties page under the web tab of both App1 and the DocumentsService.
Set the serviceHost url to the new https url of the DocumentsService.
In index.html of App1 you will notice that the bootstrap styles and JS files are being requested over http.
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
You should be able to run the demo at this point. You may get the following messages:
I chose yes for both.
Once the viewer page loads you should have a secure connection like this:
At this point you should have the document viewer with enabled https on IIS express.
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
Enabling Https with our Document Viewer demo for IIS express testing.
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.