<?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: Silverlight / ArcGIS / ArcObjects in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614762#M15820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes we do have the file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 May 2010 15:34:05 GMT</pubDate>
    <dc:creator>BrianBorg</dc:creator>
    <dc:date>2010-05-21T15:34:05Z</dc:date>
    <item>
      <title>Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614756#M15814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a number of web services published on a server that connects to the arcgis server and than consumed by the silverlight client. The webservices works fine on my development machine but when I publish them on the server, a connection with the arcgis server is never established. When I check the isconnected parameter of the AGSServerConnection class it gives me always false;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 08:14:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614756#M15814</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-05-21T08:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614757#M15815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using Services to call ArcObjects such as Server connection and CreateFeatureWoekspace.&amp;nbsp; You have two options to get ArcGIS server connection, by using ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection or ESRI.ArcGIS.Server.GISServerConnection.&amp;nbsp; When connection established, you can create server context by using ServerObjectManager.&amp;nbsp; After server context is ready, you can enjoy ArcObjects.....&amp;nbsp; Once should know is to save the context to session variable so you do not have to recreate in next service if session still alive.&amp;nbsp; You need to following property for your services&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once your own ArcGIS services are ready, you are ready request from silverlight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 11:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614757#M15815</guid>
      <dc:creator>sw1</dc:creator>
      <dc:date>2010-05-21T11:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614758#M15816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you paste part of code where you use AGSServerConnection ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what's the your configuration arcgis server? Are SOM/SOC on web server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 11:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614758#M15816</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2010-05-21T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614759#M15817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am sorry I post this under a wrong thread.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 12:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614759#M15817</guid>
      <dc:creator>sw1</dc:creator>
      <dc:date>2010-05-21T12:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614760#M15818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a siomilar problem. My webservice is working perfect when testing it from localhost but when I try to connect to it from Silverlight I always get a problem connecting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code, maybe someone can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
// Connect to ArcGIS Server
ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection agsServerConnection =
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection();
agsServerConnection.Host = ConfigurationSettings.AppSettings["serverName"];
agsServerConnection.Connect();
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614760#M15818</guid>
      <dc:creator>JohannBorg</dc:creator>
      <dc:date>2021-12-12T02:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614761#M15819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have your clientaccesspolicy.xml in place on your server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 14:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614761#M15819</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-05-21T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614762#M15820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes we do have the file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 15:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614762#M15820</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-05-21T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614763#M15821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;does it run : agsServerConnection.Connect()?&amp;nbsp; -&amp;gt; agsconnection.IsConnected == true&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2010 08:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614763#M15821</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2010-05-22T08:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614764#M15822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;does it run : agsServerConnection.Connect()?&amp;nbsp; -&amp;gt; agsconnection.IsConnected == true&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is the problem, agsconnection.IsConnected is false. The issue is that the webservice runs in local host but when published over IIS it won't&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2010 08:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614764#M15822</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-05-23T08:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614765#M15823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That is the problem, agsconnection.IsConnected is false. The issue is that the webservice runs in local host but when published over IIS it won't&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple things to try - I always pass an ESRI.ArcGIS.ADF.Identity when connecting to Arc GIS Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Connect to Arc GIS Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; agsIdentity = New ESRI.ArcGIS.ADF.Identity("user", "password", "domain")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; agsConnection = New ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection("servername", agsIdentity)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;agsConnection.Connect(True)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The boolean parameter for Connect will throw an throwExceptionOnUnauthorizedAccess exception if this is the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 13:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614765#M15823</guid>
      <dc:creator>ScottFriedrich</dc:creator>
      <dc:date>2010-05-24T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight / ArcGIS / ArcObjects</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614766#M15824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. this does the trick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 03:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-arcgis-arcobjects/m-p/614766#M15824</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-05-25T03:39:26Z</dc:date>
    </item>
  </channel>
</rss>

