Options

net.tcp://localhost:7046/DynamicsNav/Service error

Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
edited 2011-04-14 in NAV Three Tier
Hi guys!

I'm wondering if you could help me with this problem.
I was testing some RTC reports when appeared this error:

I tried to restart the service and also my PC but there were no changes.
The strange thing is that I used my localhost for 2 weeks with no problems.
Anyone could help me?

Thx in advance!
~Rik~
It works as expected... More or Less...

Answers

  • Options
    AntHillMobAntHillMob Member Posts: 79
    Does the error relate to a specific report or all reports. If it is a specific report try recompiling it. I have also seen this happen ocaasionally if there is an error in the report itself.
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    AntHillMob wrote:
    Does the error relate to a specific report or all reports. If it is a specific report try recompiling it. I have also seen this happen ocaasionally if there is an error in the report itself.

    Thx for reply!
    however, the problem involves all the RTC. I mean also if I open the RTC with double-click on the navision icon or I run a page from classic client...
    ~Rik~
    It works as expected... More or Less...
  • Options
    AntHillMobAntHillMob Member Posts: 79
    Sorry, just to clarify - does the error just happen when you run reports or does it happen with pages as well?

    Is there anything in the event log?
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    AntHillMob wrote:
    Sorry, just to clarify - does the error just happen when you run reports or does it happen with pages as well?

    It happens in both cases. I can't do anything with the RTC...
    ~Rik~
    It works as expected... More or Less...
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Did u try enabling Change listner?
    follow the steps
    http://msdn.microsoft.com/en-us/library/dd568739.aspx
    Thx for reply, I'll try!
    ~Rik~
    It works as expected... More or Less...
  • Options
    BeliasBelias Member Posts: 2,998
    We (me and -TIP-) have seen that the message ("this is a demonstration company...") popped up before having nav crashed.
    So we realized that the problem was not due to nav installation but maybe on loginstart function. We've commented one of our personalized function in that codeunit and NAV started correctly.
    After further investigation, we've noticed that it appears that NAV 2009R2 does not allow to run pages in the loginstart function, althought nav 2009SP1 allows to do it. You can test it with this simple modification in CU1:
    LogInStart()
    FORM.RUNMODAL(FORM::"License Agreement Accept"); // Moved line
    IF (STRPOS(COMPANYNAME,Text000) < 1) AND LicenseAgreement.GET THEN
      IF (TODAY >= LicenseAgreement."Effective Date") AND NOT LicenseAgreement.Accepted THEN BEGIN
        //FORM.RUNMODAL(FORM::"License Agreement Accept");  // Move this Above
        LicenseAgreement.GET;
        IF NOT LicenseAgreement.Accepted THEN
          MESSAGE(Text019);
      END ELSE
        IF TODAY < LicenseAgreement."Effective Date" THEN
          MESSAGE(Text020,LicenseAgreement."Effective Date");
    
    this modification will cause a page to pop up in SP1, but it will crash nav2009R2
    Too bad, but a (ugly) workaround can be to run the page in the onopenpage of a role center *it's not possible to add code in the role center page, we've added it to the onopen of the "company logo" page. It seems to work.
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    BeliasBelias Member Posts: 2,998
    Build No.: 6.0.32198
    description: The RoleTailored client crashes when you try to customize the client in Microsoft Dynamics NAV 2009

    there's a new fresh build of nav 2009 R2, which lists this in the fixed bugs (the description is a little scary :shock: )
    i'm wondering if it solves the problem, i'm going to install it and let you know
    edit: No, it doesn't work :cry: , posted to MS connect
    https://connect.microsoft.com/dynamicssuggestions/feedback/details/654105/run-page-at-loginstart
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.