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

Data Services Wizard with Domain Model

1 Answer 111 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mitch Wagers
Top achievements
Rank 1
Mitch Wagers asked on 27 Jul 2010, 05:11 PM
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.
-----------OR-----------
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 30 Jul 2010, 07:19 PM
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?

Regards,
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
Tags
Web Services
Asked by
Mitch Wagers
Top achievements
Rank 1
Answers by
Missing User
Share this question
or