TMSAVL

ArcGIS Server Connection 10.1

Discussion created by TMSAVL on Jul 24, 2012
Latest reply on Oct 25, 2012 by ciava.at
Hi,

In ArcGIS 10.0 I used this code to get the list of services fro ArcGIS Server:

IGISServerConnection gisServerConnection = new GISServerConnectionClass();
                gisServerConnection.Connect("Avlarcgis");

                IServerObjectManager serverObjectManager = gisServerConnection.ServerObjectManager;
                IEnumServerObjectConfigurationInfo enumConfigInfo = serverObjectManager.GetConfigurationInfos();
                IServerObjectConfigurationInfo pConfigInfo = enumConfigInfo.Next();
                while(pConfigInfo !=null)
                {
                   result.Add(pConfigInfo.Name);
                   pConfigInfo = enumConfigInfo.Next();
                }


But now with 10.1 I am getting errors.

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Outcomes