Ask a questionAsk a question
 

AnswerSystem.Data.Services.Client referenced incorrectly for CTP2

  • Saturday, September 19, 2009 7:53 AMtcksoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have been following this post to get started with the ADO.NET Data Services 1.5 CTP2 and Silverlight 3:
    http://blogs.msdn.com/astoriateam/archive/2009/09/01/introduction-to-data-binding-in-ctp2.aspx


    It very specifically says to make sure Microsoft.Data.Services.Client is included after adding the Web Service Reference to the Silverlight app.  Every time I add the web reference, I continue to get System.Data.Services.Client instead.  I have followed all the steps, but continue to get the wrong one.

    Subsequently, I am getting the following (possibly) related error when trying to use the data service:

    "An attempt to track an entity or complex type failed because the entity or complex type 'MyApp.MyDataSvc.Member' does not implement the INotifyPropertyChanged interface."  -> BTW: "Member" is the name of the table.

    Has anyone else run into this same issue or have any suggestions?

    Thanks,
    Tom

Answers

  • Monday, October 12, 2009 6:31 PMShayne Burgess - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You did not enable code generation of binding interfaces. This is covered in step 2 of the walk-through you linked to above. Go try setting the environment variables as mentioned in step 2 and then right-click your service reference and select "Update Service Reference..."

    -Shayne

All Replies

  • Monday, October 12, 2009 6:31 PMShayne Burgess - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You did not enable code generation of binding interfaces. This is covered in step 2 of the walk-through you linked to above. Go try setting the environment variables as mentioned in step 2 and then right-click your service reference and select "Update Service Reference..."

    -Shayne