Announcements
Hii Everyone
when i am trying to run the BC14 i am getting this error
and event viewer msg
The description for Event ID 216 from source MicrosoftDynamicsNavServer$BC140 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Server instance: BC140
Tenant ID:
User: **
Type: System.InvalidCastException
Message: Specified cast is not valid.
StackTrace:
at System.Data.SqlClient.SqlBuffer.get_SqlGuid()
at System.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at Microsoft.Dynamics.Nav.Runtime.NavUser.<>c__DisplayClass125_0.<GetAllUsers>b__3(NavSqlCommand command)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteCommandAndCacheOnSuccess[T](NavSqlCommandCacheKey commandKey, Func`1 newCommandFunc, Func`2 executeFunc)
at Microsoft.Dynamics.Nav.Runtime.NavUser.GetAllUsers(NavDatabase database)
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.RefreshList()
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.GetUser(Func`2 match)
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.TryGetNavUserFromSid(String sid, NavUser& user)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.AuthenticateWindowsCredential()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.Authenticate()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication..ctor(NavTenant tenant, NavClientCredentialType authenticationType, UserType userType, Object token, String userName, String authenticationKey, AuthorizationCodeContext authorizationCodeContext, String navAppId, Func`1 getWindowsIdentity, INavLicenseServiceClient licenseClient)
at Microsoft.Dynamics.Nav.Service.NSServiceBase.<>c__DisplayClass14_0.<ValidateAndCreateSession>b__0()
at Microsoft.Dynamics.Nav.Service.NSServiceBase.ValidateAndCreateSession(ConnectionRequest connectionRequest, Boolean requireNavUser)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.CreateNewSessionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Boolean requireNavUser, Object[] inputs, Object[]& outputs)
Source: System.Data
HResult: -2147467262
StackTrace:
at System.Data.SqlClient.SqlBuffer.get_SqlGuid()
at System.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at Microsoft.Dynamics.Nav.Runtime.NavUser.<>c__DisplayClass125_0.<GetAllUsers>b__3(NavSqlCommand command)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteCommandAndCacheOnSuccess[T](NavSqlCommandCacheKey commandKey, Func`1 newCommandFunc, Func`2 executeFunc)
at Microsoft.Dynamics.Nav.Runtime.NavUser.GetAllUsers(NavDatabase database)
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.RefreshList()
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.GetUser(Func`2 match)
at Microsoft.Dynamics.Nav.Runtime.NavUserCache.TryGetNavUserFromSid(String sid, NavUser& user)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.AuthenticateWindowsCredential()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.Authenticate()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication..ctor(NavTenant tenant, NavClientCredentialType authenticationType, UserType userType, Object token, String userName, String authenticationKey, AuthorizationCodeContext authorizationCodeContext, String navAppId, Func`1 getWindowsIdentity, INavLicenseServiceClient licenseClient)
at Microsoft.Dynamics.Nav.Service.NSServiceBase.<>c__DisplayClass14_0.<ValidateAndCreateSession>b__0()
at Microsoft.Dynamics.Nav.Service.NSServiceBase.ValidateAndCreateSession(ConnectionRequest connectionRequest, Boolean requireNavUser)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.CreateNewSessionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Boolean requireNavUser, Object[] inputs, Object[]& outputs)
The message resource is present but the message was not found in the message table
can anyone guide me how to reslove the issue
Thanks & rgds
Johnson
Great work, thanks for letting us all know the issue seems to be resolved.
@ZHU YUN Thanks for Reply this error solution is in "User" in table Application ID the data type has get changed into boolean so i have made into GUID data type and it has Open
@Marco Mels Thanks for Reply this error solution is in "User" in table Application ID the data type has get changed into boolean so i have made into GUID data type and it has Open
Hi, hope the following helps.
Thanks.
ZHU
Hello,
Does this issue also happen in latest cumulative update?
Thank you.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,142 Super User 2024 Season 2
Martin Dráb 227,979 Super User 2024 Season 2
nmaenpaa 101,148