Page error when running Report

rocatisrocatis Member Posts: 163
edited 2013-08-14 in NAV Three Tier
Scenario:
    1) A new report (50004) has been created to print Posted Shipments. 2) When running the report, I get an error saying "Object of type Page with id 50004 could not be found". Indeed, such a page does not exist. 3) I change language from English to Danish. 4) I can now run the report. Once. Then I get the same error. 5) Changing the language back to English allows me to run the report. Once. Then I get the same error.

What's even more annoying is the fact that I had the exact same problem with report 50002, except it was Page 50002 that could not be found. This error has vanished and I have no clue as to why.

The report has been recompiled, deleted and imported, and object metadata for the report has been deleted. Nothing works.

The debugger breaks at what seems to be a more or less random place (codeunit 5051, function FindInteractTmplCode).

Okay, so what if I create Page 50004? Again, first time it works. Second time NAV crashes with the error "The server "net.[url=tcp://app-muuto.hosit.dk:7046/dynamicsnav70/Service]tcp://app-muuto.hosit.dk:7046/dynamicsnav70/Service[/url]" is either unavailable or your connection has been lost. Do you want to attempt to reconnect?"

Restarting the client resets the behaviour.

Newsflash: I just discovered that restarting the services removes the error...
Brian Rocatis
Senior NAV Developer
Elbek & Vejrup

Comments

  • Excepti0nalExcepti0nal Member Posts: 74
    Did you delete the records from the object tracking table? You may need to go into the xml personalization file on the client and search for that object no. Then delete the data in the file for that object manually. After that, retry it.
  • clauslclausl Member Posts: 455
    So restarting the Service resolved the issue?

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • rocatisrocatis Member Posts: 163
    clausl wrote:
    So restarting the Service resolved the issue?
    Affirmative.
    Brian Rocatis
    Senior NAV Developer
    Elbek & Vejrup
  • skullaskulla Member Posts: 140
    This happened to me recently and the error message is confusing but what it was intending is the request page on the report if you have copied a report and deleted the request page some reason the metadata for that report still looking for request page so throwing this message, so deleting metadata for that report or restarting services will clear that.
  • rocatisrocatis Member Posts: 163
    That kinda makes sense! Thanks for sharing! =D>
    Brian Rocatis
    Senior NAV Developer
    Elbek & Vejrup
Sign In or Register to comment.