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

Problems with Data Services Wizard

1 Answer 106 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.
Hassanur Rahman
Top achievements
Rank 1
Hassanur Rahman asked on 17 May 2010, 09:00 PM
Hi everyone,
I am new in telerik ORM and trying to generate my Data Access Layer (DAL), Data Services, Silverlight UI with Telerik ORM and Data Services Wizard. I was able to generate all the necessary classes for DAL. Then build the DAL successfully. After that I tried to generate WCF Data Services Layer and Silverlight UI layer with Data Services Wizard. But I am now stuck with the internal exception of DSW as shown in the attached image, stated nothing about the real problem. Before starting the DSW I have enabled the web application project for Telerik ORM. 

I have tried to check the blog posts linked in DSW hompage in telerik site. Following is one of them.
http://www.stephenforte.net/PermaLink,guid,9da617ab-f441-454e-b73e-ed2fba8113c3.aspx

But unfortunately these posts were written in december 2009 and the explanation does not match with the current version of DSW.

I am using Visual Studio 2008 and Silverlight 3. If any one can help me to generate Data Services classes and Silverlight UI components with DSW then it would be great for me.

Thanks

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 21 May 2010, 02:37 PM
Hello Hassanur Rahman,

I think you might have a problem while connecting to the database. The wizard is trying to connect to the database to extract the entities ( as I can see on the attached image ) but it failed, so please double check your connection string as well as whether you have the same connection string name in:
1- app.config
2- ObjectScopeProvider at
    a- AdjustForDynamicLoad function.
    b- Database function.

Then try again, the problem should be solved.
If the error remains, please let me have a look at you code.
 
Best wishes,
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
Hassanur Rahman
Top achievements
Rank 1
Answers by
Missing User
Share this question
or