I have created an aspx page with a silverlight component on server A and this silverlight component call a webservice deployed in Server B. Some time the code is working fine and display the result properly and the remaining time it will ask for the credentials
to connect to the server. Eventhoug same user try to access it will ask randomly (some time it will work fine and other time it will check the credential).
mukeshmc
0 Points
1 Post
Cross Domain silver light request
Feb 23, 2012 10:43 AM|LINK
Hi All,
I have created an aspx page with a silverlight component on server A and this silverlight component call a webservice deployed in Server B. Some time the code is working fine and display the result properly and the remaining time it will ask for the credentials to connect to the server. Eventhoug same user try to access it will ask randomly (some time it will work fine and other time it will check the credential).
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: Cross Domain silver light request
Feb 27, 2012 08:53 AM|LINK
Hi,
I am afraid you will have to specify a client access policy on the web server to enable the authorization header. Please look at the specific details:
http://timheuer.com/blog/archive/2010/04/23/silverlight-authorization-header-access.aspx
I hope the above information helps,
Thanks
Feedback to us
Develop and promote your apps in Windows Store
kkrishnakv
Member
56 Points
14 Posts
Re: Cross Domain silver light request
Feb 27, 2012 08:55 AM|LINK
You can add the crossdomain.xml file in the WCF Service directory.