Hi,
Our RTC crashes when its started with an URL parameter
"C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" "DynamicsNAV://ourIP/ourInstance/ourCompany/"
This parameter worked fine since last friday.
Without parameter everything is fine, with parameter the client stops working immediately.
Does anybody know why?
Thanks
Marco
Client Version:
2017 CU12
Here the Windows event log:
Application Error:
Name der fehlerhaften Anwendung: Microsoft.Dynamics.Nav.Client.exe, Version: 10.0.18976.0, Zeitstempel: 0x59f31139
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.16299.15, Zeitstempel: 0x4736733c
Ausnahmecode: 0xe0434352
Fehleroffset: 0x0000000000013fb8
ID des fehlerhaften Prozesses: 0x2bbc
Startzeit der fehlerhaften Anwendung: 0x01d3a4f16a3dd69c
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll
Berichtskennung: 44c20b51-8061-424e-9ef8-20501be1e6cf
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
.NET Runtime
Anwendung: Microsoft.Dynamics.Nav.Client.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.InvalidOperationException
bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(System.Security.AccessControl.ResourceType, Boolean, System.String, System.Runtime.InteropServices.SafeHandle, System.Security.AccessControl.AccessControlSections, Boolean, ExceptionFromErrorCode, System.Object)
bei System.Security.AccessControl.FileSystemSecurity..ctor(Boolean, System.String, System.Security.AccessControl.AccessControlSections, Boolean)
bei System.Security.AccessControl.FileSecurity..ctor(System.String, System.Security.AccessControl.AccessControlSections)
bei System.Configuration.Internal.WriteFileContext.DuplicateTemplateAttributes(System.String, System.String)
bei System.Configuration.Internal.WriteFileContext.Complete(System.String, Boolean)
bei System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(System.String, Boolean, System.Object, Boolean)
bei System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(System.String, Boolean, System.Object)
bei System.Configuration.UpdateConfigHost.WriteCompleted(System.String, Boolean, System.Object)
bei System.Configuration.MgmtConfigurationRecord.SaveAs(System.String, System.Configuration.ConfigurationSaveMode, Boolean)
bei Microsoft.Dynamics.Nav.Types.ConfigSettings.SetSetting(System.String, System.String)
bei Microsoft.Dynamics.Nav.Types.ConfigSettings.Save()
bei Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.WriteAllSpnSettings(System.Collections.Generic.Dictionary`2<System.Uri,Microsoft.Dynamics.Nav.Client.SpnSetting>)
bei Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.WriteSpnSetting(Microsoft.Dynamics.Nav.Client.SpnSetting)
bei Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection
System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089(Microsoft.Dynamics.Nav.Client.ConnectFailedEventArgs, Microsoft.Dynamics.Nav.Types.ConnectionRequest, Microsoft.Dynamics.Nav.Client.ConnectionOptions, Microsoft.Dynamics.Nav.Client.SpnSetting, Boolean, Microsoft.Dynamics.Nav.Types.UserSettings ByRef)
bei Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection
System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089(Microsoft.Dynamics.Nav.Types.ConnectionRequest, Microsoft.Dynamics.Nav.Client.ConnectionOptions, Microsoft.Dynamics.Nav.Types.UserSettings ByRef)
bei Microsoft.Dynamics.Nav.Client.ServiceConnection.OpenConnection()
bei Microsoft.Dynamics.Nav.Client.ServiceConnection.Initialize()
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSessionInitializer.OpenConnectionToServer()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.OpenServerConnectionCore()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.OpenServerConnectionWithOneLoginAttempt()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.InitializeUISession()
bei Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.InitCore()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.InitCore()
bei Microsoft.Dynamics.Framework.UI.ClientSessionCore.Init()
bei Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
bei Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
bei Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
bei Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
bei Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
bei Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
Answers
Default location on client machine:
The RTC client updates the UnknownSpnHint key in this file automatically. Might be an issue related to this.
Can you try with a default ClientUserSettings.config from NAV2017 CU12 and check if the error still occurs?
Otherwise a repair installation from the NAV 2017 CU12 DVD isn't bad to try.
I've just checked on my local system. I cannot reproduce the crash. Works like a charm.
So it is installation related i guess. Any idea what might have changed in the IT environment last friday?