Entity Framework data source

5 posts, 0 answers
  1. Darren
    Darren avatar
    10 posts
    Member since:
    Oct 2010

    Posted 25 Mar 2014 Link to this post

    I have been able to get a sample EF6 context to work as a datasource in the report designer by adding the assembly reference to the config file.  When I use the same process for our existing EF6 context the data source does not show in the designer.  I have copied all the referenced dlls to the report designer folder.

    Is there any way to diagnose what part of the load is failing? 
  2. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 28 Mar 2014 Link to this post

    Hello Darren,

    In cases when assemblies are not loaded properly you can use Fuslogvw.exe to find out which assemblies were not loaded, where the application searched for them and any additional information regarding the error that occurred (if there were any errors).

    Regards,
    IvanY
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  3. DevCraft banner
  4. Darren
    Darren avatar
    10 posts
    Member since:
    Oct 2010

    Posted 31 Mar 2014 in reply to IvanY Link to this post

    Thanks, that was useful.  I got the following error.

    LOG: Assembly Name is: DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    ERR: Invalid assembly platform or ContentType in file (hr = 0x8007000b).

    Once I built the assembly targeted to x64 it loaded.  Is that a requirement or did I do something wrong?
  5. Darren
    Darren avatar
    10 posts
    Member since:
    Oct 2010

    Posted 31 Mar 2014 in reply to Darren Link to this post

    I now see that there are two version of the stand alone designer.
  6. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 01 Apr 2014 Link to this post

    Hi Darren,

    As of Q3 2013 we provide two versions of the Standalone Designer. thus you can extend the tool with external assemblies built for specific platform freely.

    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner