Ask a questionAsk a question
 

AnswerAstoria CTP2, entities not showing up in webdataservice.

  • Wednesday, September 09, 2009 2:18 PMruthjes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
    I've just upgraded from CTP1 to CTP2 and I'm trying to update my project to use CTP2. I have created a new webdataservice using the CTP2 template and made it point to the same entity framework datamodel I was already using with CTP1.
    When I set the webdataservice as the start page and run the application, all I see is:

    <? xml version="1.0" encoding="utf-8" standalone="yes" ?>
    - < service xml:base =" http://localhost:60425/WebDataService2.svc/ " xmlns:atom =" http://www.w3.org/2005/Atom " xmlns:app =" http://www.w3.org/2007/app " xmlns =" http://www.w3.org/2007/app " >
    - < workspace >
      < atom:title > Default </ atom:title >
      </ workspace >
      </ service >

    I have created an empty project and tried it again but the results were the same..
    Any idea?

    Best regards,
    Johan
    • Edited byruthjes Wednesday, September 09, 2009 2:19 PMreformatted the xml
    •  

Answers

  • Monday, September 28, 2009 6:53 PMPeter Qian - MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Johan,

    Can you share with us a sample of your DataContext, and some entity definitions? Have you checked the InitializeService and made sure the EntitySetRights are set correctly?


    Regards,
    PQ

    Peter Q. http://blogs.msdn.com/peter_qian

All Replies

  • Monday, September 28, 2009 6:53 PMPeter Qian - MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Johan,

    Can you share with us a sample of your DataContext, and some entity definitions? Have you checked the InitializeService and made sure the EntitySetRights are set correctly?


    Regards,
    PQ

    Peter Q. http://blogs.msdn.com/peter_qian