OpenAccessLinqDataSource

5 posts, 1 answers
  1. Evgeniy
    Evgeniy avatar
    11 posts
    Member since:
    Mar 2012

    Posted 09 Jul 2012 Link to this post

    Good Day.

    I have OA Domain Model compiled in dll. I.e. rlinq file exists in a separate project.
    And I have asp.net 4.0 web site.

    I put OpenAccessLinqDataSource and try to configure it. But combo box is empty and I have error message:
    OpenAccessLinqDataSource was unable to find domain context instances for processing. You can try any of the following suggestions to resolve your issue:
    • If the domain context instance is available in a project from the current solution and it is referenced by the one containing the OpenAccessLinqDataSource, please compile the solution.
    • If the domain context instance is available in a project from the current solution that is not referenced by the one containing the OpenAccessLinqDataSource, please add the required reference and compile the solution.

    I have referenced on my dll and compiled solution but I still have the same error message.

    Meantime if I use OpenAccessDataSource (old control) then everything works fine.

    Any idea why OpenAccessLinqDataSource has error?

    Thanks,
    Eugene
  2. Answer
    Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 11 Jul 2012 Link to this post

    Hello Evgeniy,

    Firstly I want to apologize for the inconvenience caused.

    It seems to be a regression in the latest Q2 release – resolving OpenAccessContext in website scenarios. We will fix the cause for the problem in the next internal build of the product.

    Actually you could use either use the previous official release of the product  - Q1 or setup the OpenAccessLinqDataSource manually by adding the necessary markup code:

    <telerik:OpenAccessLinqDataSource ID="OpenAccessLinqDataSource1" runat="server" ContextTypeName="ContextNamespace.ContextName"
        ResourceSetName="EndpointName">
    </telerik:OpenAccessLinqDataSource>

    Please find your Telerik points updated.
     
    Greetings,
    Damyan Bogoev
    the Telerik team
    OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
  3. DevCraft banner
  4. Evgeniy
    Evgeniy avatar
    11 posts
    Member since:
    Mar 2012

    Posted 27 Jul 2012 Link to this post

    Okay. Thanks.
  5. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 06 Aug 2012 Link to this post

    Hello Evgeniy,

    The fix for the OpenAccessLinqDataSource is already available in the latest internal build of the product. Now you should be able to see the context types in assemblies referenced from a web site.

    Regards,
    Alexander
    the Telerik team
    OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
  6. Evgeniy
    Evgeniy avatar
    11 posts
    Member since:
    Mar 2012

    Posted 10 Aug 2012 Link to this post

    Thanks for the info.
Back to Top
DevCraft banner