Reading RSS Feeds

349
1
06-07-2010 07:10 AM
Sravan_KumarUddarraju
New Contributor
Hi,

I am trying to access xml (http://www.nhc.noaa.gov/gtwo.xml) and getting security error, from Silverlight application. But I am able to read earthquake feed from http://earthquake.usgs.gov/earthquakes/catalogs/7day-M2.5.xml. I copied crossdomain.xml file into root path as well.
I copied error message below. Any help would be really appreciated.


{System.Security.SecurityException ---> System.Security.SecurityException: Security error.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
   at System.Net.WebClient.OpenReadAsyncCallback(IAsyncResult result)}

Regrds,
Srv
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
The server you are hitting doesn't have a clientaccesspolicy.xml or crossdomain.xml file in place that allows you to download from their server from within Silverlight.
0 Kudos