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 692705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:40:42+00:00 2026-05-14T02:40:42+00:00

I have a WCF service and a Silverlight application that work just fine when

  • 0

I have a WCF service and a Silverlight application that work just fine when they’re deployed to the IIS server.

I want to debug the Silverlight application in Visual Studio on a development machine, but have it talk to the actual service deployed on the server, not to a local instance of it on the development machine.

I was expecting to simply be able to hit F5 in Visual Studio. Of course, I get a 4004 exception, complaining that the service URL (http://iisserver/…/service.svc) is being accessed in a cross-domain way.

On the domain root (http://iisserver/) I placed wide-open crossdomain.xml and clientaccesspolicy.xml files. I still get the exception.

When I look at the HTTP traffic in Web Development Helper or MS Network Monitor, I see NO REQUESTS to the server for either of the cross domain files.

What am I missing here?

  • 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-14T02:40:42+00:00Added an answer on May 14, 2026 at 2:40 am

    One option (if you don’t want to figure out why it’s not getting to the correct service) is to launch the Silverlight app from the remote IIS server, and then, from within Visual Studio, with the appropriate Silverlight solution loaded, attach to the browser process you want to debug (Debug/Attach to Process). You can then set breakpoints or whatever else you need to do. And as an FYI, if you’re using Internet Explorer, you’ll note that there are two iexplore.exe processes. Attach to the one that has “Silverlight” as a debugger option.

    The alternative is to figure out why your local client isn’t calling the remote server, but that can be pretty involved. I presume you’ve already checked your code and configuration to make sure that it’s actually pointing to the server and ports you want it to point to? Getting the port wrong when moving your config from dev to prod is a common cause of this particular problem.

    • 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 communicates to a Silverlight-enabled WCF service, both of
I have a wcf duplex service with work fine in silverlight. but the same
I have a silverlight application that uses wcf service. This application is shown from
I have a wcf service created that's being consumed by a silverlight application. We
I have a Silverlight 4 application that access a couple of WCF Data Services.
I have a WCF service hosted within a Windows service. Its purpose is to
We have an application generated using the Sculpture software package . That means the
I have several WCF services. When I check them on the server (example: ServiceTest.svc?wsdl),
I've some questions regarding the RIA Services in a Silverlight business application. In most
I would like to have the EntityFramework4 model (.edmx and .context.tt) in a Class

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.