This is a migrated thread and some comments may be shown as answers.

Silverlight Courseware Tutorial Problem

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shawn Rupert
Top achievements
Rank 2
Shawn Rupert asked on 10 Feb 2010, 01:09 PM
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.

8)

 

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
ConfigFile:
ConnectionId:
EnhancementOutputLevel: 1
Enhancing: False
UpdateDatabase: False
UseMSBuild: False

Can anyone tell me what I may be doing wrong or are these instructions incorrect?

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 16 Feb 2010, 09:25 AM
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: http://screencast.com/t/MGMxZDA4NDQ

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.
Tags
General Discussions
Asked by
Shawn Rupert
Top achievements
Rank 2
Answers by
Stefan Dobrev
Telerik team
Share this question
or