Options

RTC compile

Rob_HansenRob_Hansen Member Posts: 296
edited 2009-09-30 in NAV Three Tier
Greetings -

I'm sure this will be something simple I'm missing... I integrated some objects into a NAV2009 SP1 base database, including a new codeunit. The functionality all works fine through the classic client. I stopped and restarted the NAV Server thinking that would recompile the objects, but when I open the RTC it errors out saying "Object of type Codeunit with id ###### could not be found." This is the new codeunit I integrated.

Can anyone point me to what I need to do to address this?

Comments

  • Options
    ara3nara3n Member Posts: 9,256
    Have you in File->database->Option tab

    Enable for Microsoft Dynamics NAV Server.

    checked?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    Rob_HansenRob_Hansen Member Posts: 296
    I don't see that option...can you clarify where it is? The database was working okay through the RTC prior to my changes...it's just the new codeunit that's raising the error.
  • Options
    ara3nara3n Member Posts: 9,256
    File->database->Alter->Option tab




    If the RTC is working, then it's probably the mods you are making are not being synced with the service tier.


    Run table Object Tracking

    Delete all the records.

    Recompile the modified objects.
    Restarting the service tier might help as well.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    BeliasBelias Member Posts: 2,998
    rdhansen wrote:
    ...I stopped and restarted the NAV Server thinking that would recompile the objects...
    this is not true, so, go on and recompile
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    Rob_HansenRob_Hansen Member Posts: 296
    Sorry...when I said I thought restarting the service would recompile the objects, I didn't mean "compile" in the sense of compiling from object designer. I meant I thought it would "rebuild" (i think that's a better word) the files for the RTC. I had saved and compiled the latest versions of my objects already.

    Rashed - your solution worked. Thank you.
  • Options
    mgiffordmgifford Member Posts: 44
    NM
Sign In or Register to comment.