Silverlight Courseware Tutorial Problem

2 posts, 1 answers
  1. Answer
    Shawn Rupert
    Shawn Rupert avatar
    7 posts
    Member since:
    Aug 2003

    Posted 10 Feb 2010 Link to this post

    I am reading through the Silverlight tutorial documentation and I am having a problem with the chapter on Data Binding. Specifically the bookmark in the pdf doc is Data Binding->Data Sources->WCF.

    My issue occurs on Step 8 on page 106.

    I am using Visual Studio 2008 Professional and RadControls for Silverlight version 2009_3_1314.



    In the Solution Explorer, right-click the "ClientAccessPolicy.xml" file and select "Properties" from the


    context menu. Set the "Copy to Output Directory" property to "Copy if Newer".


    This step will make


    sure that policy file ends up in the \bin directory, i.e. the root directory for the service. When Silverlight

    tries to access the service, it will find the policy file there and can continue interacting with the service.

    I do not have a properties option on my context menu when I right mouse click on the ClientAccessPolicy.xml file. Also, properties does not contain a "Copy to Output Directory" option.

    These are the property items I see for the xml file:
    File Name: ClientAccessPolicy.xml
    Full Path: C:\WebSites\07_WCF_Service\ClientAccessPolicy.xml
    EnhancementOutputLevel: 1
    Enhancing: False
    UpdateDatabase: False
    UseMSBuild: False

    Can anyone tell me what I may be doing wrong or are these instructions incorrect?
  2. Stefan Dobrev
    Stefan Dobrev avatar
    790 posts

    Posted 16 Feb 2010 Link to this post

    Hi Shawn Rupert,

    It seems that you are clicking properties on the project itself, rather than the ClientPolicyAccess.xml file. The properties you are describing seems to be those generated by OpenAccess enabled project.

    I'm sending you a movie which illustrates how to add this file in your project.
    Here is the link:

    Hope this helps,
    Stefan Dobrev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top