Problem with Stongly Typed Datasets

16 posts, 0 answers
  1. Donald Norris
    Donald Norris avatar
    66 posts
    Member since:
    Mar 2006

    Posted 03 Dec 2009 Link to this post

    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,
  2. Jordan
    Admin
    Jordan avatar
    123 posts

    Posted 04 Dec 2009 Link to this post

    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.
  3. DevCraft banner
  4. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    408 posts

    Posted 25 Feb 2010 Link to this post

    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.
  5. Espen Fosshaug
    Espen Fosshaug avatar
    18 posts
    Member since:
    Sep 2009

    Posted 20 Jul 2010 Link to this post

    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#
  6. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    408 posts

    Posted 26 Jul 2010 Link to this post

    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
  7. Donald Norris
    Donald Norris avatar
    66 posts
    Member since:
    Mar 2006

    Posted 26 Jul 2010 Link to this post

    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
  8. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 04 Aug 2010 Link to this post

    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
  9. Terance Emory
    Terance Emory avatar
    33 posts
    Member since:
    Aug 2012

    Posted 19 Aug 2010 Link to this post

    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
  10. John
    John avatar
    1 posts
    Member since:
    Aug 2010

    Posted 20 Aug 2010 Link to this post

    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
  11. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 26 Aug 2010 Link to this post

    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
  12. Terance Emory
    Terance Emory avatar
    33 posts
    Member since:
    Aug 2012

    Posted 27 Aug 2010 Link to this post

    Hans,

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

    Thanks,
    Terance
  13. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 01 Sep 2010 Link to this post

    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
  14. Joel
    Joel avatar
    15 posts
    Member since:
    Dec 2005

    Posted 24 Nov 2010 Link to this post

    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?
  15. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 25 Nov 2010 Link to this post

    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
  16. Joel
    Joel avatar
    15 posts
    Member since:
    Dec 2005

    Posted 26 Nov 2010 Link to this post

    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?
  17. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 08 Dec 2010 Link to this post

    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
Back to Top
DevCraft banner