KB - Connection to the server cannot be established try again or contact admin

KB - Connection to the server cannot be established try again or contact admin



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



    • Related Articles

    • Avido BI Admin Guide

              ​Avido BI  Administration Guide   Version 2017.10.1            DOCUMENT INFORMATION NOTICES COPYRIGHT DISCLAIMER VERSION HISTORY CUSTOMER SUPPORT DOCUMENT OVERVIEW INTRODUCTION MANAGING USERS ADD/EDIT USER ADD USER EDIT USER EDIT ACCESS ...
    • SQL Server Installation Guide

      Adest SQL Server Installation Guide  Copyright This material is intended for Adest Limited employees, resellers, and their clients. Quotation, citation, attribution, reproduction, or utilisation of any portion of this publication by any other party ...
    • KB - Could not load file or assembly

      Knowledge Base Article Could not load file or assembly 'Adest.Base.Info' or one of its dependencies. An attempt was made to load a program with an incorrect format. Product AdestWebV5 Engineer Cathal O’Brien Date 23/07/2012 Symptoms An following ...
    • KB - AdestWeb error 2501 An error has occurred

      Unfortunately there’s nothing really on Silverlight & that error number online. From looking at the exception it’s looks like the problem occurs after having downloaded the xap files to client and then trying to load components from them which would ...
    • KB - Cannot open an anonymous level security token

      Cannot open an anonymous level security token ​ Error on previewing PO or launching document from grid Resolution: Set Default Authentication Level to connect