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

Problem with Stongly Typed Datasets

15 Answers 77 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Donald Norris
Top achievements
Rank 1
Donald Norris asked on 03 Dec 2009, 04:03 PM
I use typed datasets and am getting the following:

 

Dim oDT As New DocumentTable.DocumentTableDataTable

 

 

Dim oDTRow As DocumentTable.DocumentTableRow

 

 

Dim daDT As New DocumentTableTableAdapters.DocumentTableTableAdapter

 


VisualBasic.Net:  Unknown Entity 'DocumentTable'

This omission is generating too many false errors.

Thanks,

15 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 04 Dec 2009, 08:57 AM
Hello Donald Norris,

Thanks for the feedback.
We're aware of the problem about using DataSets and DataAdapters in web site projects. Hopefully we'll manage to fix it soon.

Sincerely yours,
Jordan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Tsviatko Yovtchev
Telerik team
answered on 25 Feb 2010, 09:10 AM
Hello Donald,

 I got some feedback saying that you still have a problem with this. Which version of JC do you have installed now? Could you send a small sample solution that demonstrates the problem?

Greetings,
Tsviatko Yovtchev
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.
0
Espen Fosshaug
Top achievements
Rank 1
answered on 20 Jul 2010, 11:15 AM
Hi.
Same problem here. I just installed JC Q2 2010 and all my Strongly Typed Datset are marked red error.
I use them a lot so this is very annoying. The project compiles just fine and the dataset comes ut with intellisens.

This should have been fixed i february ans is still there.

Running VS2010 -C#
0
Tsviatko Yovtchev
Telerik team
answered on 26 Jul 2010, 09:03 AM
Hello Espen Fosshaug,

You are right about this issue having been fixed long ago. However, it seems we still fail in some corner cases. Could you send over a small sample project that exhibits this problem? That should allow us to fix it once and for all.

Regards,
Tsviatko Yovtchev
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
0
Donald Norris
Top achievements
Rank 1
answered on 26 Jul 2010, 11:39 PM
I just installed the latest version of JustCode and Strongly typed datasets still do not work.  It is an extremely large project.  Possibly we could use go to meeting to have you see the project on my PC?

SLTDon
0
Hans Kratz
Telerik team
answered on 04 Aug 2010, 01:44 PM
Hi Donald,

Sorry for the late response.

Do you import the DataSets from SQL Server?

We tried to reproduce this with a local database (added in the Solution Browser > Add > New item... > Data > Local Database) in a new ConsoleApplication and with Solution Browser > Add > New item... > Data > DataSet and the auto-generated classes were recognized just fine.

Maybe it would really help to have a look at your solution in a screen-sharing session with GoToMeeting or Skype. Please open a new private ticket so that we can discuss the details.

Anyone else having similar problems and reading this thread it would be great if you could provide us with a self-contained solution with which we could reproduce this issue.

Kind regards,
Hans Kratz
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
0
Terance Emory
Top achievements
Rank 1
answered on 19 Aug 2010, 12:26 PM
I recently added JustCode to my visual studio 2008 and 2010.

On my older applications that use Strongly Type Datasets, JustCode shows any reference to these datatypes as not being found or an unknown type.

I read through some post where this was fixed, but it's still a problem in a number of my projects which compile without any problems.

Any help here would be greatly appreciated.

Thanks,
Terance Emory
0
John
Top achievements
Rank 1
answered on 20 Aug 2010, 07:29 PM
Just chiming in here.  I'm having the same issue and installed JustCode today.

I typically create my datatableadapters by right clicking in the dataset design space and select Add -> Tableadapter.  Not sure if that makes any difference or not.
 
Thanks,
John
0
Hans Kratz
Telerik team
answered on 27 Aug 2010, 04:35 AM
Hello Terance!
Hello John!

We have identified one issues with Strongly Typed Datasets in Websites which will be fixed in the next JustCode internal build. Do you encounter this problem with normal projects or websites?


Best wishes,
Hans Kratz
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
0
Terance Emory
Top achievements
Rank 1
answered on 27 Aug 2010, 12:13 PM
Hans,

For me it is with websites, I have not looked at any normal projects yet.

Thanks,
Terance
0
Hans Kratz
Telerik team
answered on 01 Sep 2010, 08:38 AM
Hello,

if you want to test if our internal build fixes this issue for you before it is released please open a new private ticket where we can provide you with the internal build.

Greetings,
Hans Kratz
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
0
Joel
Top achievements
Rank 1
answered on 25 Nov 2010, 01:01 AM
I have the latest JustCode installed and I'm getting the same error with strongly typed datasets in Web Site projects (not web application projects). Could I have access to the internal build to test or should this be public already?
0
Hans Kratz
Telerik team
answered on 25 Nov 2010, 10:24 PM
Hi Joel,

does the problem persist after choosing JustCode | Refresh Code Analysis?

Regards,
Hans Kratz
the Telerik team
Browse the videos here>> to help you get started with JustCode
0
Joel
Top achievements
Rank 1
answered on 27 Nov 2010, 04:02 AM
No, that fixed it for this project. I can live with that as a workaround, but any idea why it's necessary?

Thank you very much for your help.

EDIT: After closing and reopening the project, it shows the errors again and I have to Refresh Code Analysis to make it go away. Any ideas?
0
Hans Kratz
Telerik team
answered on 08 Dec 2010, 05:59 PM
Hi Joel,

The problem is that JustCode tries to pick up the code files that are generated for the datasets. Those files are created in the background when the solution is opened. Normally JustCode tries to force the creation of such files when the solution is opened and waits for them to become available. However this seems to fail for your solution.

It would be great if you could provide us with a test sln which exhibits this problem so that we can reproduce and fix it.

Greetings,
Hans Kratz
the Telerik team
Browse the videos here>> to help you get started with JustCode
Tags
Code Analysis
Asked by
Donald Norris
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Tsviatko Yovtchev
Telerik team
Espen Fosshaug
Top achievements
Rank 1
Donald Norris
Top achievements
Rank 1
Hans Kratz
Telerik team
Terance Emory
Top achievements
Rank 1
John
Top achievements
Rank 1
Joel
Top achievements
Rank 1
Share this question
or