Try changing the web.config in the root folder of your nService on your web server. Should be something like c:\inetpub\wwwroot\nService4\web.config.

1. Install .Net Framework 4.6 on your web server

2. Change
<compilation debug="true" targetFramework="4.0">
to
<compilation debug="true" targetFramework="4.6">

3. Change
<httpRuntime maxRequestLength="20480" executionTimeout="300" requestValidationMode="2.0" />
to
<httpRuntime targetFramework="4.6" maxRequestLength="20480" executionTimeout="300" requestValidationMode="2.0" />

4. Change
<appSettings>
    <!-- Run nService in a single process application pool for memory storage to work -->
    <add key="ChartImageHandler" value="storage=memory;timeout=30;" />
</appSettings>

to:

<appSettings>
    <!-- Run nService in a single process application pool for memory storage to work -->
    <add key="ChartImageHandler" value="storage=memory;timeout=30;" />
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>

Source of information:
https://stackoverflow.com/questions/45382254/update-net-web-service-to-use-tls-1-2
Article #1516
Updated On: 10/8/2021 Index
Was this article helpful? Yes | No