<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use arcgis server from winForms application? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31060#M821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Here &lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/Overview/003z0000011v000000/" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/Overview/003z0000011v000000/"&gt;ArcObjects Help for .NET developers&lt;/A&gt;&amp;nbsp; I read&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Local connections to the SOM are made as a local user (using an operating system login that must be in the agsusers or agsadmin group).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;but on server I don't see agsusers or agsadmin. (I work with arcgis server 10.1)&lt;/P&gt;&lt;P&gt;2. How do I specify a username and password from which the reques&amp;nbsp; to the server is?&lt;/P&gt;&lt;P&gt;3. Is there are any code examples?&lt;/P&gt;&lt;P&gt;4. How to specify the server name and the name of the machine, on which the server is running (whether it is necessary to specify the port)?&lt;/P&gt;&lt;P&gt;5. In Connect2 method only I can set userInfo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="connection.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/126941_connection.jpg" style="width: 620px; height: 409px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 13:47:42 GMT</pubDate>
    <dc:creator>AnatoliiTerentiev</dc:creator>
    <dc:date>2015-09-15T13:47:42Z</dc:date>
    <item>
      <title>How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31053#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus!&lt;/P&gt;&lt;P&gt;How to use arcgis server from the winForms application?&lt;/P&gt;&lt;P&gt;May be as follows &lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/ao_start.htm" title="http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/ao_start.htm"&gt;ArcObjects API Reference for ArcGIS Engine&lt;/A&gt;&amp;nbsp; or there exist other way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 09:54:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31053#M814</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-09-11T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31054#M815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;It's easy to use mapControl in arcObjects and map control in "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fschemas.esri.com%2Farcgis%2Fclient%2F2009" target="_blank"&gt;http://schemas.esri.com/arcgis/client/2009&lt;/A&gt;&lt;SPAN&gt;" namespace (wpf, silverlight)&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:Map x:Name="myMap" Background="White" WrapAround="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extent="3200000,8500000,4250000,10130000" MouseClick="Map_MouseClick" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:OpenStreetMapLayer ID="OSMLayer" Style="Mapnik" /&amp;gt;
&amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;P&gt;Can't anybody show how to solve simililar problems (with code example) in winForms or some reference would be nice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31054#M815</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2021-12-10T21:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31055#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain in more detail what you're needing to accomplish? What is it that you're needing to do with the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 05:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31055#M816</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-09-15T05:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31056#M817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the project , which I wrote 5 yeas ago. The program are on the server and clients run it after enter the server via tsclient. Now I I have arcgis for server and use it from wpf and silverlight project. I want to rewrite my winForms project. In xaml of silverlight project&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; &amp;lt;esri:Map x:Name="myMap" Background="White" WrapAround="true" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extent="3200000,8500000,4250000,10130000" MouseClick="Map_MouseClick" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:OpenStreetMapLayer ID="OSMLayer" Style="Mapnik" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer ID="Karelia" 
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmyserver%3A6080%2FArcGIS%2Frest%2Fservices%2Fkarelia%2FMapServer" target="_blank"&gt;http://myserver:6080/ArcGIS/rest/services/karelia/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer&amp;nbsp;&amp;nbsp;&amp;nbsp; ID="routes_osm" 
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;myserver&lt;/SPAN&gt;:6080/ArcGIS/rest/services/karelia/MapServer/1" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MouseEnter="FeatureLayer_MouseEnter_1"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FeatureLayer&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer&amp;nbsp;&amp;nbsp;&amp;nbsp; ID="bridges"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Visible="False"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;myserver&lt;/SPAN&gt;:6080/ArcGIS/rest/services/karelia/MapServer/2" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MouseEnter="FeatureLayer_MouseEnter" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FeatureLayer&amp;gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;P&gt;So it's needed to to use some feature layers, to draw some objects , to solve geometry tasks&amp;nbsp; and so on. Also need to use OSM layer. &lt;/P&gt;&lt;P&gt;Now I try to use connection factory&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerConnectionFactory AGSConnectionFactory = new AGSServerConnectionFactory();&lt;/PRE&gt;&lt;P&gt;but&amp;nbsp; get an error message - &lt;/P&gt;&lt;P&gt;"The required class is missing in ClassFactory".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31056#M817</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2021-12-10T21:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31057#M818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I forgot&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14423026347576825 jive_text_macro" data-renderedposition="29_8_900_16" jivemacro_uid="_14423026347576825" modifiedtitle="true"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;An error has disappeared&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 07:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31057#M818</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-09-15T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31058#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I successfully connected through the Internet connection with next code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerConnectionFactory AGSConnectionFactory = new AGSServerConnectionFactory();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPropertySet connectionProps = new PropertySet();
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionProps.SetProperty("URL", "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2FserverIP%3A6080%2Farcgis%2Fadmin" target="_blank"&gt;http://serverIP:6080/arcgis/admin&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerConnection AGSConnection = AGSConnectionFactory.Open(connectionProps, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSEnumServerObjectName enumSOName = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enumSOName = AGSConnection.ServerObjectNames;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerObjectName SOName = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOName = enumSOName.Next();


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (SOName != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.Print(SOName.Name + ": " + SOName.Type);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOName = enumSOName.Next();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;But I can't to connect through local connection in the LAN with next code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerConnectionFactory AGSConnectionFactory = new AGSServerConnectionFactory();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAGSServerConnection AGSConnection = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPropertySet connectionProps = new PropertySet();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionProps.SetProperty("machine", "MONITOR");


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSConnection = AGSConnectionFactory.Open(connectionProps, 0);&lt;/PRE&gt;&lt;P&gt;where "MONITOR" -&amp;nbsp;&amp;nbsp;&amp;nbsp; the name of the computer in LAN. How to specify the name of the server arcgis in this expression, and whether it is required to be connected with an setting of user (the member of agsusers group) and password?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31058#M819</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2021-12-10T21:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31059#M820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to do so&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;IGISServerConnection connection = new GISServerConnection();
&lt;SPAN&gt;connection.Connect("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2FserverIP%3A6080%2Farcgis%2Fadmin" target="_blank"&gt;http://serverIP:6080/arcgis/admin&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;but I get an error&lt;/P&gt;&lt;P&gt;"Server RPC&amp;nbsp; is not available"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31059#M820</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2021-12-10T21:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31060#M821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Here &lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/Overview/003z0000011v000000/" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/Overview/003z0000011v000000/"&gt;ArcObjects Help for .NET developers&lt;/A&gt;&amp;nbsp; I read&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Local connections to the SOM are made as a local user (using an operating system login that must be in the agsusers or agsadmin group).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;but on server I don't see agsusers or agsadmin. (I work with arcgis server 10.1)&lt;/P&gt;&lt;P&gt;2. How do I specify a username and password from which the reques&amp;nbsp; to the server is?&lt;/P&gt;&lt;P&gt;3. Is there are any code examples?&lt;/P&gt;&lt;P&gt;4. How to specify the server name and the name of the machine, on which the server is running (whether it is necessary to specify the port)?&lt;/P&gt;&lt;P&gt;5. In Connect2 method only I can set userInfo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="connection.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/126941_connection.jpg" style="width: 620px; height: 409px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31060#M821</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-09-15T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use arcgis server from winForms application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31061#M822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hear &lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000p7w000000" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//000100000p7w000000"&gt;ArcObjects Help for .NET developers&lt;/A&gt;&amp;nbsp; I read&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;H4 style="margin-top: 1em; margin-bottom: 0.2em; font-size: 12.8px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #4d4d4d;"&gt;&lt;STRONG style="font-size: 12.8px;"&gt;Remote use of ArcObjects (via DCOM)&lt;/STRONG&gt;&lt;/H4&gt;&lt;P style="margin: 0.5em 0 0.3em; font-size: 12.8px; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif;"&gt;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.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Is there a solution to my problem or it is&amp;nbsp; better to work from wpf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-arcgis-server-from-winforms-application/m-p/31061#M822</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-09-15T14:11:33Z</dc:date>
    </item>
  </channel>
</rss>

