SmartBusinessEntityAdapter Issue
 
Forums / SmartComponent Library - Developer Forum / SmartBusinessEntityAdapter Issue

SmartBusinessEntityAdapter Issue

4 posts, 1 answered
  1. Roger Blanchard
    Roger Blanchard avatar
    413 posts
    Registered:
    29 Jun 2018
    20 Jan 2020
    Link to this post
    I have an OspreyBusinessEntityAdapter that INHERITS SmartBusinessEntityAdapter. Since the latest update I no longer can open any of my forms using the Visual Designer. I get a Visual Designer cannot load this class...An exception occurred loading the design canvas: The type 'Osprey.CustomerClasses.SmartComponents.OspreyBusinessEntityAdapter' has no property named 'LinkDataSource'. 

    If I manually remove the 'LinkDataSource' property I get the same error for 'LinkNavigationSource'.

    I am just wondering if this expected?



    Last modified on 20 Jan 2020 16:01 by Roger Blanchard
  2. Mike Fechner
    Mike Fechner avatar
    342 posts
    Registered:
    14 Sep 2016
    Answered
    20 Jan 2020 in reply to Roger Blanchard
    Link to this post
    This works for me with no issue. 

    The issue sounds like sonething's wrong with either your reference to the Consultingwerk.SmartComponents.dll assembly or the assembly may be blocked.

    You can also try to remove all r-code (including the r-code in the Phantom Consultingwerk folders in all other projects) and recompile everything.

    If that does not solve it, we should deal with it in the support desk. 
  3. Roger Blanchard
    Roger Blanchard avatar
    413 posts
    Registered:
    29 Jun 2018
    20 Jan 2020 in reply to Mike Fechner
    Link to this post
    Okay, I will check that. If not I will open a support request.

    thank you.
  4. Roger Blanchard
    Roger Blanchard avatar
    413 posts
    Registered:
    29 Jun 2018
    20 Jan 2020 in reply to Mike Fechner
    Link to this post
    deleting ALL the .r code and recompiling appears to have solved this.

    thanks.
4 posts, 1 answered