ArcServer 10.1 and Web ADF

3092
7
12-12-2012 12:30 PM
AngelGonzalez
Occasional Contributor II
We have ArcServer 10.1 Enterprise set up on a test machine in order to test our applications before we go live with production. One of our application is a Web ADF site. We used the the ArcGIS Server manager in 10.0 to manager the site.

Can we use the 10.1 Server Manager to manager the Web ADF application??

The installation of the Web ADF in 10.1 includes the "Web Application Manager" feature. Do we need this? Can this feature co-exist on the same machine that the 10.1 Server Manager is installed on???

Can anyone who went thru this type of migration chime in.

Thanks
0 Kudos
7 Replies
PeterBuwembo
Esri Contributor
Can we use the 10.1 Server Manager to manager the Web ADF application??
No, you cannot use the ArcGIS server manager 10.1 to manager web ADF applications.

Also worth noting, ArcGIS 10.1 for Server is the last release to offer the Web ADF.
The ADF right now is available through a separate installation called ArcGIS Web Applications.

If you have developed a web ADF application in previous releases of ArcGIS Server, consider migrating your application to use the ArcGIS web APIs or the ArcGIS configurable viewers, such as Flex viewer, Silverlight

For more information on how to migrate your web application to the web APIs please read through the link below:
http://resources.arcgis.com/en/help/main/10.1/index.html#/Migration_to_ArcGIS_10_1_for_Server/015400...

I hope this information is helpful and good luck
0 Kudos
AngelGonzalez
Occasional Contributor II
Pete,

Thanks for the input. We are planning to migrate the Web ADF to Silverlight in the near future,  but when we go live with 10.1 the Web ADF will still be with us.  Can we still deploy the Web ADF app on the same machine the the 10.1 ArcServer manager & IIS is install on?   Should the "Web Application Manager" feature be installed on a Dev machine, along with VS2010, and then we can deploy/publish to our server(with 10.1 ArcGIS server manager & IIS). The documentation is not clear as to how to deploy a Wed ADF app with 10.1 server.  Also if we need to stop the service how do we go about it in 10.1?


Thanks again.
0 Kudos
jieli1
by
New Contributor


hi ,Had you solved the question? we encountered the same one

0 Kudos
PeterBuwembo
Esri Contributor

Jie,

What issue are you encountering exactly?

0 Kudos
jieli1
by
New Contributor

thank you, the problem is like this:our program was build based on ArcGIS Server 10.0 and ArcGIS ADF SDK,now our ArcGIS Server Upgrade to 10.1,

then the question is that our code where ADF connect to Server was Wrong.

the code is like this :

public IFeatureClass GetFeatureClass(int layerIndex)

{

IFeatureClass pFC=null;

ESRI.ArcGIS.ADF.Identity identity=new ESRI.ArcGIS.ADF.Identity("ArcGISWebService","Password","");

string Hostname="10.61.120.XX";

Esri.ArcGIS.ADF.Connection.AGS.AGSServerConnection agsconn=new Esri.ArcGIS.ADF.Connection.AGS.AGSServerConnection("Hostname","identity");

agsconn.Host=Hostname;

agsconn.Connect(); // the question is here

pSOM=agsconn.ServerObjectManager;

pSOC=pSOM.CreateServerContext("Thematic","MapServer");

ESRI.ArcGIS.Carto.IMapServer2 pMapServer=pSOC.ServerObject as ESRI.ArcGIS,Carto.IMapServer2;

ESRI.ArcGIS.Carto.IMapServerObjects2 pMapServerObjects=pMapServer as ESRI.ArcGIS.Carto.IMapServerObjects2;

ESRI.ArcGIS.Carto.IMap pMap=pMapServerObjects.get_Map(pMapServer.DefaultMapName);

pFC=(pMap.get_Layer(layerIndex) as ESRI.ArcGIS.Carto.IFeatureLayer).FeatureClass;

return pFC;

}

agsconn.Connect(); is the question;

ESRI says that such method was not supported any more later 10.1。

This GetFeatureClass method was used Frequently in our program,we want to search a simple method to solve the question.

any solution? thank you

在 2014-12-17 00:18:14,"Peter Buwembo" <geonet@esri.com> 写道:

ArcServer 10.1 and Web ADF

reply from Peter Buwembo in ArcGIS for Server - View the full discussion

Jie,

What issue are you encountering exactly?

Reply to this message by replying to this email, or go to the message on GeoNet

Start a new discussion in ArcGIS for Server by email or at GeoNet

Following ArcServer 10.1 and Web ADF in these streams: Inbox

This email was sent by GeoNet because you are a registered user.

You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences

0 Kudos
jieli1
by
New Contributor

thank you, the problem is like this:our program was build based on ArcGIS Server 10.0 and ArcGIS ADF SDK,now our ArcGIS Server Upgrade to 10.1,

then the question is that our code where ADF connect to Server was Wrong.

the code is like this :

public IFeatureClass GetFeatureClass(int layerIndex)

{

IFeatureClass pFC=null;

ESRI.ArcGIS.ADF.Identity identity=new ESRI.ArcGIS.ADF.Identity("ArcGISWebService","Password","");

string Hostname="10.61.120.XX";

Esri.ArcGIS.ADF.Connection.AGS.AGSServerConnection agsconn=new Esri.ArcGIS.ADF.Connection.AGS.AGSServerConnection("Hostname","identity");

agsconn.Host=Hostname;

agsconn.Connect(); // the question is here

pSOM=agsconn.ServerObjectManager;

pSOC=pSOM.CreateServerContext("Thematic","MapServer");

ESRI.ArcGIS.Carto.IMapServer2 pMapServer=pSOC.ServerObject as ESRI.ArcGIS,Carto.IMapServer2;

ESRI.ArcGIS.Carto.IMapServerObjects2 pMapServerObjects=pMapServer as ESRI.ArcGIS.Carto.IMapServerObjects2;

ESRI.ArcGIS.Carto.IMap pMap=pMapServerObjects.get_Map(pMapServer.DefaultMapName);

pFC=(pMap.get_Layer(layerIndex) as ESRI.ArcGIS.Carto.IFeatureLayer).FeatureClass;

return pFC;

}

agsconn.Connect(); is the question;

ESRI says that such method was not supported any more later 10.1。

This GetFeatureClass method was used Frequently in our program,we want to search a simple method to solve the question.

any solution? thank you

在 2014-12-17 00:18:14,"Peter Buwembo" <geonet@esri.com> 写道:

ArcServer 10.1 and Web ADF

reply from Peter Buwembo in ArcGIS for Server - View the full discussion

Jie,

What issue are you encountering exactly?

Reply to this message by replying to this email, or go to the message on GeoNet

Start a new discussion in ArcGIS for Server by email or at GeoNet

Following ArcServer 10.1 and Web ADF in these streams: Inbox

This email was sent by GeoNet because you are a registered user.

You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences

0 Kudos
PeterBuwembo
Esri Contributor

Jie,

My best recommendation on the SDK part is to reach out to our support services and inquire from the SDK team

They should have all the details you need on this matter.

Contacts are below & good luck

Email: support@esri.com

Phone: +1-909-793-3774

Toll-free Phone: +1-888-377-4575

Fax: +1-909-792-0960

Website Address: http://support.esri.com

0 Kudos