<?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: Suggestions on the error messgae : System.Reflection.TargetInvocationException in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654056#M16728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am getting the following message when I debuged the application, could you please post your suggestions on this :&lt;BR /&gt;&lt;BR /&gt;I appreciate for taking your time and replying to the message : &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Microsoft JScript runtime error: Unhandled Error in Silverlight Application &lt;BR /&gt;Code: 4004&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Category: ManagedRuntimeError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Message: System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.&amp;nbsp; Check InnerException for exception details. ---&amp;gt; System.Security.SecurityException ---&amp;gt; System.Security.SecurityException: Security error.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;EndGetResponse&amp;gt;b__4(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;BeginOnUI&amp;gt;b__0(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadAsyncCallback(IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.OpenReadCompletedEventArgs.get_Result()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NYSBridge.Utility.ArcGISLyrAndTblInfo.WebClient_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadOperationCompleted(Object arg)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you post some code where the exception is raised...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2011 19:56:46 GMT</pubDate>
    <dc:creator>IgressT</dc:creator>
    <dc:date>2011-05-04T19:56:46Z</dc:date>
    <item>
      <title>Suggestions on the error messgae : System.Reflection.TargetInvocationException</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654055#M16727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting the following message when I debuged the application, could you please post your suggestions on this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate for taking your time and replying to the message : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Microsoft JScript runtime error: Unhandled Error in Silverlight Application &lt;BR /&gt;Code: 4004&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Category: ManagedRuntimeError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Message: System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.&amp;nbsp; Check InnerException for exception details. ---&amp;gt; System.Security.SecurityException ---&amp;gt; System.Security.SecurityException: Security error.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;EndGetResponse&amp;gt;b__4(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;BeginOnUI&amp;gt;b__0(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadAsyncCallback(IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.OpenReadCompletedEventArgs.get_Result()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NYSBridge.Utility.ArcGISLyrAndTblInfo.WebClient_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadOperationCompleted(Object arg)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 19:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654055#M16727</guid>
      <dc:creator>srikanthpilli</dc:creator>
      <dc:date>2011-05-04T19:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Suggestions on the error messgae : System.Reflection.TargetInvocationException</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654056#M16728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am getting the following message when I debuged the application, could you please post your suggestions on this :&lt;BR /&gt;&lt;BR /&gt;I appreciate for taking your time and replying to the message : &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Microsoft JScript runtime error: Unhandled Error in Silverlight Application &lt;BR /&gt;Code: 4004&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Category: ManagedRuntimeError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Message: System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid.&amp;nbsp; Check InnerException for exception details. ---&amp;gt; System.Security.SecurityException ---&amp;gt; System.Security.SecurityException: Security error.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;EndGetResponse&amp;gt;b__4(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;BeginOnUI&amp;gt;b__0(Object sendState)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadAsyncCallback(IAsyncResult result)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.OpenReadCompletedEventArgs.get_Result()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at NYSBridge.Utility.ArcGISLyrAndTblInfo.WebClient_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OpenReadOperationCompleted(Object arg)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you post some code where the exception is raised...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 19:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654056#M16728</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-05-04T19:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Suggestions on the error messgae : System.Reflection.TargetInvocationException</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654057#M16729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing you don't have a ClientAccessPolicy.xml file on your ArcGIS Server domain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try and put an InitializationFailed handler on your layers, and see if they get hit (best practice is to always have that anyway).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 21:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/suggestions-on-the-error-messgae-system-reflection/m-p/654057#M16729</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-05-06T21:26:59Z</dc:date>
    </item>
  </channel>
</rss>

