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...
Comments
/Claus Lundstrøm
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 :-)
Senior NAV Developer
Elbek & Vejrup
ArcherPoint, Inc http://www.archerpoint.com
Blog: http://www.navisionworld.com
skkulla
Senior NAV Developer
Elbek & Vejrup