Replacement to IServerObjectManager?

695
1
01-10-2013 10:26 PM
SusanJones
Occasional Contributor II
Howzit all,

At the beginning of last year I created an ArcGIS Server Reporting And an ArcGIS Data Source Reporting AddIn for documenting everything inside an ArcGIS Server Instance. I deployed with an ArcGIS Server 10.0 Instance and made use of the IServerObjectManager Interface to create Server contexts for services.

3-4 month back we upgraded to ArcGIS Servr 10.1 and migrated all the services.

That AddIn I have created is no longer valid at the new ArcGIS Server architecture but still works well on the existing AGS 10.0 instances. Although I was not significantly involved in the upgrade, I recall the whole SOM and SOC componentary has fallen away,

It is hardly surpriing that the AddIn no longer works.

(I have gone through the debug of the AddIn and notice the component fails when the SOM is created. Nothing object is created.

Can someone please guide me to the Interfaces I should be making use of for use in the .NET Development?

Is there a replacement Interface to IServerObjectManager?

I am on a steep learning curve here.

Many Thanks in Advance

Susan Jones
GIS Consultant
Auckland
NEW Zealand
Tags (2)
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
"... At 10.1, you can no longer use ArcObjects remotely (via DCOM); this way of interacting with ArcGIS for Server is no longer supported. If you are using GISServerConnection in the Server library or AGSServerConnection in the GISClient library in your code, these need to be removed if you are working with ArcGIS 10.1 for Server...". ( http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000p7w000000 )

You can use rest admin api. Here you can draw an idea of how to do it from http://nicogis.blogspot.it/2012/10/ags-101-restful-administrative-api.html
0 Kudos