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
does it run : agsServerConnection.Connect()? -> agsconnection.IsConnected == true
// 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();
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.