<?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 4004 Silverlight ErrorCategory : ManagedRuntimeError in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268008#M6999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An unhandeled exception(..in Silverlight Application)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:4004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Category:ManagedRuntimeError&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:System.Runtime.Serilization,SerializartionException:'html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xdomain policy everything is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a MEF implmentation- all dependency injections, shell, etal are good.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 18:31:49 GMT</pubDate>
    <dc:creator>Jitendrudulacaraju</dc:creator>
    <dc:date>2011-08-05T18:31:49Z</dc:date>
    <item>
      <title>4004 Silverlight ErrorCategory : ManagedRuntimeError</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268008#M6999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An unhandeled exception(..in Silverlight Application)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:4004&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Category:ManagedRuntimeError&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:System.Runtime.Serilization,SerializartionException:'html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xdomain policy everything is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a MEF implmentation- all dependency injections, shell, etal are good.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 18:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268008#M6999</guid>
      <dc:creator>Jitendrudulacaraju</dc:creator>
      <dc:date>2011-08-05T18:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: 4004 Silverlight ErrorCategory : ManagedRuntimeError</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268009#M7000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I get this error.&lt;BR /&gt;An unhandeled exception(..in Silverlight Application)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Humm, difficult to reproduce&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More infos about what you are doing would be appreciated:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2011 10:45:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268009#M7000</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-08-06T10:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: 4004 Silverlight ErrorCategory : ManagedRuntimeError</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268010#M7001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its a big app, can you specify the files I should upload for your analysis?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error stack, its the problem the in web service I think, I am rectifying the web service and redeploying them;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;title&amp;gt;Runtime Error&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;style&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; pre {font-family:"Lucida Console";font-size: .9em}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .marker {font-weight: bold; color: black;text-decoration: none;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .version {color: gray;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .error {margin-bottom: 10px;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/style&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;body bgcolor="white"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:&amp;quot;red&amp;quot;;"&gt; &lt;STRONG style="color: &amp;quot;red&amp;quot;;"&gt;&amp;lt;span&amp;gt;&amp;lt;H1&amp;gt;Server Error in '/ArcGIS/Services' Application.&amp;lt;hr width=100% size=1 color=silver&amp;gt;&amp;lt;/H1&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;h2&amp;gt; &amp;lt;i&amp;gt;Runtime Error&amp;lt;/i&amp;gt; &amp;lt;/h2...' is not a valid JSON primitive. This error can also occur when extraneous data is present after the JSON data. &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; May be it is the JASON deserialzation problem?&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.Layer.Initialize()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.&amp;lt;&amp;gt;n__FabricatedMethod4()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;MapServiceInfoInitFailed&amp;gt;b__0()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Humm, difficult to reproduce&amp;nbsp; &lt;BR /&gt;More infos about what you are doing would be appreciated:)&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268010#M7001</guid>
      <dc:creator>Jitendrudulacaraju</dc:creator>
      <dc:date>2011-08-08T16:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: 4004 Silverlight ErrorCategory : ManagedRuntimeError</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268011#M7002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed that when the ESRI server logic encounters some problems it incorrectly returns HTML instead of JSON.&amp;nbsp; It looks like this is happening to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, what you have to figure out is what the underlying server error is so that you can resolve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be good to see the full response, i.e. all the HTML, which the server returned.&amp;nbsp; Also, you will want to check the REST log, ArcGIS Server Manager log, and the NT event log.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 10:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/4004-silverlight-errorcategory-managedruntimeerror/m-p/268011#M7002</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-08-09T10:43:54Z</dc:date>
    </item>
  </channel>
</rss>

