Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

BC14 App Error

(0) ShareShare
ReportReport
Posted on by 143

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

  • 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.

  • pooja gund Profile Picture
    pooja gund 143 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

  • pooja gund Profile Picture
    pooja gund 143 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 75,595 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

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans