Host LEADTOOLS services on IIS 7.* (Vista and Windows 7 OS)
The LEADTOOLS installation program will automatically configure your version of IIS to host the LEADTOOLS WCF Services. If you wish to host the LEADTOOLS WCF Services on another computer then you should follow these steps. Also, for more information about hosting WCF services, refer to: MSDN Hosting Services
When using LEADTOOLS WCF services, it is recommended to put the LEADTOOLS assemblies in the Global Assembly Cache for the following reasons:
For more information, refer to the Global Assembly Cache topic in MSDN online.
Create a virtual directory and map the Services directory. Here are the steps:
Create a Host directory:
Create a Bin directory:
Copy the Leadtools.Services.*
from
to
Files to copy include:
Create a web.config
at
[See details: MSDN - Configuring Services Using Configuration Files ]
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483648"/>
</requestFiltering>
</security>
</system.webServer>
\WCFHost
[ See details: MSDN - Create an .svc File for the WCF Service].IOcrService
, create OcrService.svc
file and add the following line to it (Add to this line the percent sign after < and before >):< @ServiceHost Language=C# Debug="true" Service="Leadtools.Services.Forms.ServiceImplementations.OcrService" >
Alias: | LEADTOOLSWCFServices |
Directory: | <LEADTOOLS_INSTALLDIR>\WCFHost |
The resulting Add Application dialog will look like this:
Special notes for OCR service
Hosting our IOCRService requires the following:
Right-Click > Properties and select the Security tab.
Go to Start > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.
IIS Hosting Services Resources
MSDN - Configuring Services Using Configuration Files
MSDN - Create an .svc File for the WCF Service
Products |
Support |
Feedback: How to Host LEADTOOLS Services on IIS 7 |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.