"The Object Metadata does not exist" Error (Page ID='0')

AndriusAndrius Member Posts: 6
edited 2012-11-14 in NAV Three Tier
Hi everybody,

I've got the problem related to running RTC, hope you can help.

I have installed NAV 2009 with developer environment. If I select demo database (default) to be run on RTC, then everything works perfectly.

Problem is, that i have created new database (named it 'test') on the same sql server (2005). Restored backup of demo database on it. Reinstalled nav 09 and selected 'test' to be run on RTC.

Now classic client works smoothly, but when i run RTC i get the folowing error:
The Object Metadata does not exist. Identification fields and values: Object Type='Page',Object ID='0'

I don't get why i get this error, as all objects and data are the same as in demo database. :-k
Searched all mibuso forum also google and couldn't find a solution. ](*,)
Thanks in advance

Answers

  • navuser1navuser1 Member Posts: 1,329
    Compile all the Pages of the new databse.
    Now or Never
  • navuser1navuser1 Member Posts: 1,329
    Change Database name in the CustomSettings file and then restart the Service again.
    Now or Never
  • AndriusAndrius Member Posts: 6
    Thanks for Your response :wink:
    navuser1 wrote:
    Compile all the Pages of the new databse.
    I have compiled all the pages, and 146 erros were found. Should it be fixed? I should remind you, that all these pages came from demo database.
    Also I've tried to go the other way:
    Start -> Run -> Dynamicsnav:////runpage?page=1

    got the same error message, so I believe it is not related to compilation of objects.
    navuser1 wrote:
    Change Database name in the CustomSettings file and then restart the Service again.
    Yes. I have done this too. :|
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Check weather u have metadata for all pages or not?? in table 2000000071-Object Metadata
  • AndriusAndrius Member Posts: 6
    Check weather u have metadata for all pages or not?? in table 2000000071-Object Metadata
    A lot of metadata is missing with page ID > 9030. (how can this be, if this is a copy of demo database?)
    What is the way to create this metadata? (Sory if it is a sily question, this is the first time I have to deal with it :D)

    On the other hand, even if i try to run one page (compiled and with metadata) like this:
    Start -> Run -> Dynamicsnav:////runpage?page=1
    i get the same error
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    how many companies u have in ur database 'test'?
  • AndriusAndrius Member Posts: 6
    how many companies u have in ur database 'test'?

    only 1
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    i think there is some problem in the demo database backup..
  • AndriusAndrius Member Posts: 6
    I repeated all the steps again:
    1. uninstalled nav 2009
    2. deleted my database 'test'
    3. installed nav 2009 with developer environment
    4. run RTC - works perfectly
    5. run classic client
    6. Checked, that a lot of pages have object metadata missing. i.e. 1 Company Information, 16 Chart of Accounts ...
    (and that doesn't prevent RTC from running)
    7. created full backup of the demo database
    8. created new database name 'test' (with option Enable for Microsoft Dynamics Nav Server = YES)
    9. restored entire backup of demo databse (step 7)
    10. Renamed Company to 'test Company'
    10. Reinstalled nav 09, but this time selected database 'test' to be opened with RTC on installation parameters window.

    and RTC works \:D/

    I think mohana_cse06 was right - the demo database backup was corrupted
    thank you all for your advices
  • ieuanieuan Member Posts: 1
    Just a stupid question to you guys having this problem; I assume you are using the SQL Server option, when opening the Classic database? Obviously, a page object can be created in the Native database. However, RTC only gets its data from the SQL database.... :oops:

    Rgds..
    Ieuan T. Hughes
    SW & Produktudvikling
    Capto A/S
    Mail: ith@capto.dk
    Mobil: +45 2428 7992
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    ieuan wrote:
    I assume you are using the SQL Server option, when opening the Classic database?

    am using windows authentication.

    i didnt get your ques exactly.

    can you explain?
  • ThalonThalon Member Posts: 10
    In my case the problem was that there was no profile in table 2000000072.
    There seems to be no errorhandling if the default Rolecenter is not found.

    Thalon
Sign In or Register to comment.