ef5.0 DBset

7 posts, 0 answers
  1. Jun
    Jun avatar
    30 posts
    Member since:
    May 2013

    Posted 15 Oct 2013 Link to this post


    Hello.
    Do you have a plan to support ef5.0 Dbset in reporting Q3 2013?
    If so, when are you going to support it?


    I don't want this link : http://blogs.telerik.com/careypayette/posts/13-07-30/try-out-new-entity-framework-support-in-telerik-reporting-and-earn-rewards and openacess.

  2. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 18 Oct 2013 Link to this post

    Hello Jun,

    DbSet is supported prior to Q3 2013, so you can actually use an older version if you need to. Please also note that Q3 2013 is now officially released. If you have any other issues please do not hesitate to ask.

    Regards,
    IvanY
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  3. Jun
    Jun avatar
    30 posts
    Member since:
    May 2013

    Posted 19 Oct 2013 Link to this post

    Error : An error has occurred while processing Report 'Report1': An error occurred while invoking data retrieval method. Try restarting Visual Studio. ------------- InnerException ------------- A connection string has been provided but constructor with connection string argument could not be found. Either remove the connection string from the data source or provide a constructor which will use that connection string. For design time purposes a constructor that has a connection string argument and passes it to the base constructor is required.

    It's Same Message.( q2 2013 Reporting )

     
  4. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 21 Oct 2013 Link to this post

    Hi Jun,

    By default the DbContext is created only with a single, parameterless constructor. As the exception message says you will have to either remove the connection string from the data source (you can just go in the designer.cs file, find the connection string and delete the whole line) or to provide a second constructor. For the latter to work you will have to create a constructor with a string argument and pass that string to the base constructor. For more information please check the first note in this help article.

    Regards,
    IvanY
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  5. brian
    brian avatar
    36 posts
    Member since:
    Jul 2010

    Posted 23 Oct 2013 Link to this post

    Why does this happen on every EF setup?   Is there a way to automate this?   No matter what I do I cannot get rid of the error.

    I deleted one line from designer.cs, the connectionstring line.   That didn't work.   Preview still gives this error.
  6. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 28 Oct 2013 Link to this post

    Hi,

    Add the constructor accepting string argument and try again to setup the data source component.

    -KS
  7. Mark
    Mark avatar
    6 posts
    Member since:
    Aug 2010

    Posted 28 Feb 2015 Link to this post

    look for    
    public YourEntities()
                : base("name=YourEntities")
            {
            }
    Make an additional
    public YourEntities(string connString)
                : base(connString)
            {
            }
Back to Top