<?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: Publishing Live Data to Silverlight in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154495#M3883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No I am using the File/Add Data/Add Query Layer that you suggested.&amp;nbsp; When I bring it in without the spatial reference your query is using things it look fine in ArcMap.&amp;nbsp; I just have an extra step of making it an XYEvent.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OBJECTID, FDSID, STORENAME, LATITUDE, LONGITUDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIS.Stores_GEO"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way when I go to publish I get that same error about not being able to start it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2011 17:29:06 GMT</pubDate>
    <dc:creator>deleted-user-yA_w_FC9FKe5</dc:creator>
    <dc:date>2011-08-01T17:29:06Z</dc:date>
    <item>
      <title>Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154489#M3877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the Silverlight Builder to create a quick application to show where our stores are located.&amp;nbsp; This all works great if I add the SQL table to a Geodatabase as a Feature class.&amp;nbsp; I then add it into the builder and boom looks great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that it is not live.&amp;nbsp; So if I delete records out of the SQL table nothing changes in the geodatbase or the service.&amp;nbsp; I was told this can be made to be live but after hours and hours of searching on the internet I am starting to lose hope.&amp;nbsp; This is really important to us.&amp;nbsp; Can someone walk me through the steps on how to do this.&amp;nbsp; This should be possible and easy right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 12:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154489#M3877</guid>
      <dc:creator>deleted-user-yA_w_FC9FKe5</dc:creator>
      <dc:date>2011-08-01T12:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154490#M3878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;look at this link &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_a_query_layer/00s50000000n000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_a_query_layer/00s50000000n000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have similar situation... I have a location table in SQL Server 2008 with latitude and longitude columns and points gets added/removed all the time. Since the table is a part of a bigger database I cannot convert it into a GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in ArcMap (not sure you have access to it) you can add a query layer directly read from a sql server database. Publish that as a dynamic service. We have another application that actually inserts/deletes the data from this table. Since this being a dynamic service any changes made to the table are shown on the map (well actually I provide a refresh button and as soon as user clicks refresh he can see the changes)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 12:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154490#M3878</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-08-01T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154491#M3879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information on the Query Layer.&amp;nbsp; I feel like I am sooooo much closer now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have ArcMap and I did create the query layer.&amp;nbsp; Tested to make sure it was all live and it is working great.&amp;nbsp; However, when I went to publish the map via ArcGIS server I am getting this error "Configuration Stores_Live_Data.MapServer can not be started."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I think you want me to do something different now that I have it as a XY event layer.&amp;nbsp; Can you walk me through the dynamic service piece?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 13:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154491#M3879</guid>
      <dc:creator>deleted-user-yA_w_FC9FKe5</dc:creator>
      <dc:date>2011-08-01T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154492#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I did when I created my service and it works for me&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a new login with SQL Server Authentication in SQL Server 2008 (my SQL Server is on network)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In ArcMAP&amp;gt;File&amp;gt;Add Data&amp;gt;Add Query Layer&amp;gt;Click Connections&amp;gt;Click New&amp;gt;Enter Server details and in account &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Change Authentication to Database Authentication and provide the new login details and click Test connection and make sure it succeeds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. In the name give a query name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. In the Query enter something like this (unless you are creating a stand alone table)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT *,&amp;nbsp; geography::STPointFromText('POINT(' + CAST(Longit AS VARCHAR(20)) + ' ' + CAST([Latit] AS VARCHAR(20)) + ')', 4326) As Loc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM TableXXX&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Click validate to check for errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. You can now see data in ArcMAP, save the document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. From ArcCatalog select the document and publish it as a service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In which step are you getting the error...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 14:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154492#M3880</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-08-01T14:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154493#M3881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is very cool but when I do this I can see my points in the spatial results but not on my map.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT objectid, FDSID, STORENAME, LATITUDE, LONGITUDE, geography::STPointFromText('POINT(' + CAST(LONGITUDE AS VARCHAR(20)) + ' ' + CAST(LATITUDE AS VARCHAR(20)) + ')', 4326) As Loc &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM GIS.Stores_GEO &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I still tried to publish the map and I am still getting this same error.&amp;nbsp; I get the error when I try to publish the map to the ArcGIS Server (SDE).&amp;nbsp; All I do is this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.) Open ArcCatalog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.) Locate Map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.) Right Click and select Publis to ArcGIS Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.) I leave all of the defaults&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5.) Click finish and get the error&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 16:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154493#M3881</guid>
      <dc:creator>deleted-user-yA_w_FC9FKe5</dc:creator>
      <dc:date>2011-08-01T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154494#M3882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you are using the Query layer from a table stored in a geodatabase.... I don't know if it will work... the documentation says query layers work directly off of a DBMS and you don't need geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 16:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154494#M3882</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-08-01T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154495#M3883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No I am using the File/Add Data/Add Query Layer that you suggested.&amp;nbsp; When I bring it in without the spatial reference your query is using things it look fine in ArcMap.&amp;nbsp; I just have an extra step of making it an XYEvent.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OBJECTID, FDSID, STORENAME, LATITUDE, LONGITUDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIS.Stores_GEO"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way when I go to publish I get that same error about not being able to start it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 17:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154495#M3883</guid>
      <dc:creator>deleted-user-yA_w_FC9FKe5</dc:creator>
      <dc:date>2011-08-01T17:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Live Data to Silverlight</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154496#M3884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No I am using the File/Add Data/Add Query Layer that you suggested.&amp;nbsp; When I bring it in without the spatial reference your query is using things it look fine in ArcMap.&amp;nbsp; I just have an extra step of making it an XYEvent.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;My Query:&lt;BR /&gt;"SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OBJECTID, FDSID, STORENAME, LATITUDE, LONGITUDE&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIS.Stores_GEO"&lt;BR /&gt;&lt;BR /&gt;Either way when I go to publish I get that same error about not being able to start it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok... confusing... but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. No need to create an XYEvent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. use SELECT objectid, FDSID, STORENAME, LATITUDE, LONGITUDE, geography::STPointFromText('POINT(' + CAST(LONGITUDE AS VARCHAR(20)) + ' ' + CAST(LATITUDE AS VARCHAR(20)) + ')', 4326) As Loc &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM GIS.Stores_GEO&amp;nbsp; instead of what you provided&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 17:34:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-live-data-to-silverlight/m-p/154496#M3884</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-08-01T17:34:15Z</dc:date>
    </item>
  </channel>
</rss>

