Security Exception while running sites using subdomain?
- by lmenaria
I have 3 sites :
media.lmenaria.com - Hosting Images
webservice.lmenaria.com - Sending images url from database.
www.lmenaria.com - Host Silverlight application and display images.
When I run page "http://www.lmenaria.com/silverlight.aspx". I am getting below exception. So what shpould I do ?
System.Security.SecurityException: Security error.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<c_DisplayClass5.b_4(Object sendState)
at System.Net.Browser.AsyncHelper.<c_DisplayClass2.b_0(Object sendState) 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)
I think, my all sites runing at same domain, so I don't need crossdomain xmls. Please let me know how Can I fix it.
I have tried to put corssdoamin xml media.lmenaria.com,webservice.lmenaria.com both, and working fine, but only at
www.lmenaria.com not working.
We are downloading images using WebClient.
Thanks in advance,
Laxmilal Menaria