Data Services Wizard with Domain Model

2 posts, 1 answers
  1. Mitch Wagers
    Mitch Wagers avatar
    5 posts
    Member since:
    Jun 2010

    Posted 27 Jul 2010 Link to this post

    I have two projects in a solution, one Class Library for holding the OpenAccess Objects and one WCFServices project. I cannot use the Data Services Wizard to add any services to the WCFServices project.

    The wizard allows me to select the project that contains the entities and the project to host the services. Upon getting to the page asking whether I want Visual Entity Designer (RAD LINQ) or Scope Provider, I get the following errors, respectively:

    Object Reference not set to an instance of an object.
    You need to select create IObjectScope file in your DAL project
    Please right click on DAL project and choose (Add IObjectContext Provider)!

    Dunno what the first error indicates, but I do have experience with the second...when using Domain Models, I am not aware that I can add an IObjectContext Provider, it certainly isn't an option.

  2. Answer
    Missing user
    Missing user avatar

    Posted 30 Jul 2010 Link to this post

    Hello Mitch Wagers,

    Actually one of the main reasons to encounter the Object Reference exception is that the wizard is not able to create its required temporary dll at the path [My Documents]\Telerik\OpenAccess\Data Services Wizard\Temp. Could you please assure that you have your documents folder at the same machine and there is no security-related issue to access this folder?

    Rizk Sobhi
    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
  3. DevCraft banner
Back to Top