Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC:

Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 18 Sep 2019 23:37 #10771

  • jjgregg
  • jjgregg's Avatar
  • Topic Author


  • Posts: 25
  • After touching and saving all dBase servers, now we have error messages in a lot or screens saying:

    "Method : has been strongly typed but has not been declared in the class: 51450"

    And the only way to get rid of the compiler errors are by reading and writing field information using FIELDGET and FIELDPUT

    Example: This line now gives the strong typed error: cProject := SELF:oProject:PROJECT
    To fix the error it needs to be rewritten as follows: cProject := SELF:oProject:FIELDGET( #PROJECT )

    Replacing all access and assign field points in all our applications with FIELDGET and FIELDPUT will not only take a considerable amount of time but who knows what errors will be introduced by all this work.

    Help!

    What is going on?
    Thanks,
    John

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 00:27 #10772

    • robert
    • robert's Avatar


  • Posts: 3595
  • John,
    If I remember correctly there are 2 templates for the dbserver and fieldspec editor. Apparently the SP4 installer selected the early bound strongly typed template.

    To use the 'old style' code generation copy cavoded.tpl and cavofed.tpl from your VO 2.7 bin folder and save the server entities again.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 00:50 #10773

    • jjgregg
    • jjgregg's Avatar
    • Topic Author


  • Posts: 25
  • Hi Robert, thanks for your help, I am really close to completing this migration except for this problem.

    I copied the 2 TPL files from the VO2.8sp4 bin, touched and recompiled the dbServers and.... still getting the error. I then copied the same files from the VO2.7b bin directory and.... same problem.

    How do I turn off early binding?
    Thanks
    John

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 01:06 #10774

    • Chris
    • Chris's Avatar


  • Posts: 3980
  • John,

    You need to force the DBServer editor to re-generate the code, so make a dummy change, revert it and then Save, this should update the code based in the new template.
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 01:30 #10775

    • jjgregg
    • jjgregg's Avatar
    • Topic Author


  • Posts: 25
  • Thanks Chris & Robert,
    I copied the TPLs from VO 2.7b to both the VO2.8bin directory and common directories, and.... it worked, no error messages. Let's see if it runs.
    Thanks, there is no way I could have resolved this without your help.
    John

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 01:47 #10776

    • jjgregg
    • jjgregg's Avatar
    • Topic Author


  • Posts: 25
  • Thanks Chris & Robert,
    I copied the TPLs from VO 2.7b to both the VO2.8bin directory and common directories, and.... it worked, no error messages. Let's see if it runs.
    Thanks, there is no way I could have resolved this without your help.
    John

    Please Log in or Create an account to join the conversation.

    Upgraded from VO2.7b to VO2.8 sp4 - Problems with accessing field data servers 19 Sep 2019 07:07 #10777

    • robert
    • robert's Avatar


  • Posts: 3595
  • John,

    Maybe you can follow up on the international newsgroup that you found the solution over here.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1