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();
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.