jaya kumar

jaya kumar

  • NA
  • 107
  • 117.4k

Silverlight application invoke the DataBase data through WCF.

Aug 22 2012 5:54 AM
Hi all,
I have created a Silverlight app, and i have implemented database interaction through WCF services. I created WCF services and i hosted in my IIS.
In my Silverlight app, added service references and invokes the corresponding method but I got an error message like.

An error occurred while trying to make a request to URI 'http://sys55/TestServices/Service1.svc'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.

Please let me know, what i need to do.


Regards,
jai.

Answers (1)