ERROR MESSAGE: ‘Connection to the server cannot be established. Please try again or contact your administrator’
OR
[HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to
diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10111.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
Check your web.config and AdestWebDataService.config files and ensure there load balancer and endpoint addresses are set correctly.
If you are sure that there above are configured correctly then it maybe an issue with the Authentication Mode (set in IIS), there are two steps to follow:
STEP 1
Locate the website in IIS and under ‘Authentication’ ensure it reflects the below:
STEP 2
Open the web.config and ensure the Authentication Scheme is set to Anonymous:
<bindings>
<customBinding>
<binding name="AdestCustomBinding">
<binaryMessageEncoding />
<httpTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" transferMode="Buffered" useDefaultWebProxy="true" authenticationScheme="Anonymous" />
</binding>
<binding name="CustomBinding_IAdestWebDataService">
<binaryMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" maxSessionSize="2048">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</binaryMessageEncoding>
<httpTransport manualAddressing="false" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" maxBufferSize="2147483647" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" />
</binding>
</customBinding>
</bindings>
If you are you are using Windows authentication then change ‘Anonymous’ to ‘Negotiate’.
Further information on setting up Windows Authentication can be found in the AdestWeb installation manual provided by CompletIT