Skip to main content

Notifications

Business Central forum
Suggested answer

BC14 App Error

Posted on by 139

Hii Everyone 

when i am trying to run the BC14 i am getting this error 

pastedimage1675514726363v1.png

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

Categories:
  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: BC14 App Error

    Great work, thanks for letting us all know the issue seems to be resolved.

  • Johnson Samuel Profile Picture
    Johnson Samuel 139 on at
    RE: BC14 App Error

    @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

  • Johnson Samuel Profile Picture
    Johnson Samuel 139 on at
    RE: BC14 App Error

    @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

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,142 Super User 2024 Season 2 on at
    RE: BC14 App Error

    Hi, hope the following helps.

       

    Thanks.

    ZHU

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans