Richard,Thanks for the reply. I am trying to make a WebMethod that can return a list of feature classes in a database and I am trying to connect to the SOM so I can make a new workspacefactory like this.
[WebMethod]
public string getFeatureClasses()
{
ESRI.ArcGIS.ADF.Identity identity = new ESRI.ArcGIS.ADF.Identity("userinarcgisadmingroup", "pass", "domain");
ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection agsconnection;
agsconnection = new ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection("localhost",
identity);
agsconnection.Connect(true);
}
If I run this using the locall IIS web server, with the application being run by a user in the agsAdminGroup, in VS2010 what was described above happens. If I run it using the VS development server the code executes but the connection is refused. Am I going about this the wrong way?Thanks,Keelan...