Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

RTC Crash when opened from Dev. Environment but works when running as admin

(0) ShareShare
ReportReport
Posted on by 30

There are several related questions to this error but i believe to have a slightly different Scenario.

Since updated the NAV 2015 Build to Version 8.00.46054 the RTC works but when starting a page, a table from the Development Environment, the RTC crashes instantly.

The strange part is, that this works without a problem if i start the Development Environment with a right-click "run as Administrator".

The previous NAV Build used haven´t had this Problem.

Further, this only happens on Windows Terminal Server Clients, on the NAV Server itself and a Windows Workstation OS Test Client there is no Problem either.

So i believe this can´t be a Problem related to the Rolecenter (negative Cues etc.) or other mentioned issues in other Posts, since it works with the same Settings and same Domain User from all Machines except Terminal Servers. And even there it works if i run as Admin.

Has anyone else experienced this ? so far i only can think this is related to this latest NAV Build, 8.00.46054.

The Error Message looks the same as in other related questions:

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: Microsoft.Dynamics.Nav.Client
Problemsignatur 02: 8.0.46054.0
Problemsignatur 03: 5746f4e5
Problemsignatur 04: System
Problemsignatur 05: 4.0.30319.34294
Problemsignatur 06: 56ce40b1
Problemsignatur 07: 4033
Problemsignatur 08: 61
Problemsignatur 09: System.ComponentModel.Win32
Betriebsystemversion: 6.1.7601.2.1.0.144.8
Gebietsschema-ID: 1031
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789

*This post is locked for comments

  • RE: RTC Crash when opened from Dev. Environment but works when running as admin

    Yes, NAV 2016 CU9 and 2015 CU21.

    Sorry :-).

  • BSS Profile Picture
    BSS 30 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    I suppose you mean 2015 CU21 :_)

    That would be great news

  • Suggested answer
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    "My" contact has just confirmed that you issue IS in fact fixed in NAV 2016 CU9 and NAV 2016 CU21 which will be released through the NAV Team Blog (https://blogs.msdn.microsoft.com/nav/) real soon now...

    Regards,

    SystemConnect,

    Gert Lynge

  • BSS Profile Picture
    BSS 30 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    I just verified this with the customer and indeed this seems to be the Problem.

    If a single user alone is on the Server it works perfectly.

    If i open a RTC with another user the same time, it crashes when starting the RTC via run or debug from Dev.Env.

  • Suggested answer
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    I'm guessing here, but I might be able to explain the bug.

    Some background: In NAV 2016 I've reported an error regarding very poor report performance when executing in ClickOnce sandbox mode (only option if you install clients using ClickOnce). It was fixed in CU7 (I've blogged about it in Danish here: http://blog.systemconnect.dk/?p=907).

    To my knowledge Microsoft fixed it by changing the way NAV starts in the ClickOnce sandbox. It now locates its own exe, starts it as a new process with parameters that disable to stuff that should be disabled when running as ClickOnce, and the exits. So you'll just see the new process and think it was the one you startes :-).

    After fixing this, a new bug was introduced in NAV 2016 (I'm not quite certain it was related to this bug. Someone stated that they also cleaned up some COM code while fixing this - so actually I don't know if it was related to the ClickOnce fix).

    Anyway - the new bug caused NAV to crash with an access denied exception when it was not run as administrator and you tried to run an object from the development environment, start the debugger from the development environment (or show sessions from the RTC).

    I reported this and it was disclosed that the new code looking for a already running NAV RTC in the "process list" was a little to optimistic and also tried to get process information of process which the current user had no rights to look into. I think this one we be fixed in 2016 CU9 (coming next).

    I've also blogged about the new bug in Danish here: http://blog.systemconnect.dk/?p=943 :-)

    My guess is that you are experiencing sort of the same bug. Your development environment tries to get info regarding the RTC running on the same server but in another users context. This fails (probably access denied) so you get a crash. When no other RTCs are running on the same server, it works...

    I'll make the MS contact that I've reported the NAV2016 bugs aware of your post.

    But you might need to also report this as a bug...

    It might have already been fixed but not yet released, but we cannot know that for sure...

    Regards,

    SystemConnect,

    Gert Lynge

  • BSS Profile Picture
    BSS 30 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    I just got an update from the customer that it worked last night without changing anything but today it is broken again.

    The only thing i can assume is different is that no other users/less user were working at this time on the terminal servers.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    (I think) a new problem with the environment client in version x.xx.46054.

    In 9.00.46054 (NAV2016) you have it also. Error Message example:

    An unhandled exception of type 'System.Reflection.ReflectionTypeLoadException' occurred in mscorlib.dll

    Open the environment without new editor. Use start parameter (and hope for a solution in the next version):

    "C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\finsql.exe" useoldeditor=Yes

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    Can be many reasons... Try recompiling system tables. Also, try to re-register manually new .dlls, appeared from updates. This might be also a connectivity issue: running from Terminal Server might be affected by physical network bad connections or extensive traffic. Check also the resource load of Terminal server.

  • BSS Profile Picture
    BSS 30 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    Hello Jonathan,

    It´s Office 2010, i´m not allowed to uninstall OneNote since it is in use and in an production Environment.

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: RTC Crash when opened from Dev. Environment but works when running as admin

    Wich Office Version Do you use? Try to uninstall onenote. Then Try again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans