Web services: Page not found

birrebirre Member Posts: 22
edited 2012-06-27 in NAV Three Tier
Hi,

I'm trying to access a codeunit on the Web Service installed on our server. Accessing the Web Service is no problem, I can set the references, but when I execute the codeunit I receive this error:

{"Metadata for object of type Page with id 50021 is in a failed state. This is caused by a previous exception:

Object of type Page with id 50021 could not be found.


Problem is: we upgraded a 5.1 version to 2009, but didn't install the pages because we won't work with RTC.
I already tried to recompile all objects, restart the DynamicsNAV services, but I still get the error.

Any thoughts?
Thanks!

Comments

  • birrebirre Member Posts: 22
    I think I'm having the same issue as here:
    viewtopic.php?f=32&t=53667

    Within the CU, I refer to form 50021, WS tries to call page 50021. Any workaround for this?
  • kinekine Member Posts: 12,562
    You need to have the page or not call it (e.g you can try to add condition "if not ISSERVICETIER then" … there is no other solution.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.