Quantcast
Viewing latest article 2
Browse Latest Browse All 3

WCF service deployment on IIS7

 
"kaka1212" wrote in message news:fdd32dc3-7a95-4da2-ac47-925110825d1a...
Hi,
I have been trying to deploy a simple WCF webservice to send data back to
silverlight client. It runs fine in visual studio but that is not all I
want. I want to deploy it on IIS7. I want to know how to exactly deploy a
WCF web service on IIS.
I am getting the following error in my silverlight client page:
An exception occurred during the operation, making the result invalid.
Check InnerException for exception details.:An error occurred while trying
to make a request to URI 'http://localhost:1235/DemoService.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.
I do have a client access policy in the visual studio project which gets
deployed with it.
 
my
response -------------------------------------------------------------------------------------------
 
So, you can go to a browser's address line and enter
'http://localhost:1235/DemoService.svc' and get the service page, which
means it's working and listening on the port?
 
 

Viewing latest article 2
Browse Latest Browse All 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>