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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:43:05+00:00 2026-05-18T04:43:05+00:00

I am using silverlight 4 application, in two scenarios. Scenario 1: Silverlight and RPC

  • 0

I am using silverlight 4 application, in two scenarios.

Scenario 1: Silverlight and RPC on same machine

  1. Being run hosted on a web page on the file system, silverlight XAP is also on the file system:

    C:\Silverlight\FSSilverlightApp\bin\Debug\SilverlightApplication2TestPage.html
    
  2. Connecting to a web site on localhost, being accessed:

    https://localhost/rpc/someMethod
    
  3. These are two separate URI’s so the browser detects and immediately requests (track via fiddler):

    https://lcoalhost/clientaccesspolicy.xml 
    

    sucessfully returns:

    <?xml version="1.0" encoding="utf-8"?> 
    <access-policy>
        <cross-domain-access>
            <policy>
              <allow-from http-request-headers="*">
                <domain uri="http://*"/>        
                <domain uri="https://*" /> 
              </allow-from>
              <grant-to>
                <resource path="/" include-subpaths="true"/>
              </grant-to>
            </policy>   
       </cross-domain-access> 
    </access-policy>
    
  4. The application is then able to make the rpc requests (observed via fiddler)

    Everything is fine. If i change the remote host to the local machine name instead of localhost, that works fine as well.

Scenario 2: Silverlight on local machine and RPC is remote

  1. In this scenario, I am using a different desktop to access the same RPC server used in scenario 1.
  2. Silverlight starts up, and no request to: clientaccesspolicy.xml is made
  3. Fiddler shows a ton of https tunnels being established, but no commuinication between my machine and the remote server.

The following security exception is returned:

System.Security.SecurityException ---> System.Security.SecurityException: Security error.
   at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResultasyncResult)
   at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(ObjectsendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
   --- End of inner exception stack trace ---
   at Microsoft.FSharp.Control.WebExtensions.AsyncGetResponse@1781-1.Invoke(Exception _arg1023)
   at Microsoft.FSharp.Control.AsyncBuilderImpl.callA@736.Invoke(AsyncParams`1 args)

I assume this is an IE configuration issue. I tried setting the machine in scenario 1, as a trusted site inside of internet explorer and that didn’t seem to work… This must be a self signed or mismatched certificate issue. Any thoughts?

Using: IE 8 and Windows 7

Thoughts?

  • 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-18T04:43:06+00:00Added an answer on May 18, 2026 at 4:43 am

    I used Fiddler to sit in between the sliverlight client and the server. IN order to get that to work properly I needed to export the fiddler certificate (tools\fiddlerOptions\https) and install it locally as the root certificate authority.

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

Sidebar

Related Questions

I am creating a basic image browsing application using Silverlight. Depending on the user's
I'm using ADO.NET dataservices in a Silverlight application and since the silverlight libraries don't
I have just started using silverlight 2 beta and cannot find how to or
I've coded some smaller projects using Silverlight 2.0, which is fairly impressive. Does Silverlight
Would it be possible to show an image in full screen mode using silverlight.
When using a Silverlight-enabled WCF service, where is the best place to instantiate the
I'm using the Silverlight UnitTest framerwork does anyone have a good example have how
I'm working on a Silverlight app using the MVVM pattern. My ViewModel currently consists
I'm writing a Silverlight app using the MVVM pattern. I have a main view
When you create a Silverlight app using: <asp:Silverlight id=SlApp runat=server Source=~/ClientBin/SLApp.xap MinimumVersion=2.0 /> is

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.