// Connect to ArcGIS Server ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection agsServerConnection = new ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection(); agsServerConnection.Host = ConfigurationSettings.AppSettings["serverName"]; agsServerConnection.Connect();
does it run : agsServerConnection.Connect()? -> agsconnection.IsConnected == true
That is the problem, agsconnection.IsConnected is false. The issue is that the webservice runs in local host but when published over IIS it won't
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.