Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 219009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:48:17+00:00 2026-05-11T18:48:17+00:00

I have created a Silverlight 2 appliction, that uses a WCF service. The service

  • 0

I have created a Silverlight 2 appliction, that uses a WCF service.
The service is located in a local folder (not IIS) and works fine with a Winforms test.
when I try to call the service, it returns with an error: ” no pocily for cross domain”.

I’ve tryed to add clientaccesspolicy.xml and crossdomain.xml to:
the wcf project folder
the iis wwwroot
the local drive root E:\

but nothing takes any affect
where should i put them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:48:18+00:00Added an answer on May 11, 2026 at 6:48 pm

    As you say you don’t have the service running under IIS I am going to make some assumptions

    • Your silverlight app is hosted in an html page you load by double clicking, giving a file:// URI in the browser location bar, or you’re publishing it to your local IIS.
    • Your WCF service is running in some self hosted process like a command line app, windows service or Winforms application. Whatever it is hosted through it will not be on the same URL as your silverlight app.

    The silverlight app and the wcf service are hosted in separate urls, the app on file://example.html or http://localhost if you’ve published it to IIS and the wcf service on http://localhost:1234. This raises cross domain access problems because the port numbers are different, or you are loading the silverlight app from a file:// URI and you’re self hosting the WCF service. If you are self hosting the WCF service you cannot solve this because they require either a clientaccesspolicy.xml file or a crossdomain.xml file allowing access to the services from your silverlight URL, however there is no way to serve an XML from the root of the self hosting WCF server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight application that uses WCF services and also uses the Wintellect
Created a WCF service that is being called by a Silverlight app. Both reside
I have a Silverlight application that is interacting with a WCF service. This service
I have a Silverlight application that uses WCF RIA Services. I'd like to be
I have a silverlight application that runs WCF services. I have created a WCF
We have a Silverlight application that uses WCF Data Services. We want to add
I have created a simple Silverlight Plugin that makes a call to a WCF
I have a Silverlight / WCF RIA Services application that uses EF 4. Currently,
I have created a Silverlight application that runs OOB with extra features. We've taken
I have a typical Silverlight application with a WCF service and I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.