Sveiki, susidūriau su tokia problema bandydamas pajungti programą ant MySQL serverio.
rašė:
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Fetch failed (System.Exception: Vartotojui nesuteikta prieiga prie vartotojų duomenų bazės. Kreipkitės į serverio administratorių.
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.Security.AccIdentity.TryAuthenticateWithIdentity(AccIdentity& nIdentity)
at AccDataAccessLayer.Security.AccIdentity.DataPortal_Fetch(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.Security.AccIdentity.TryAuthenticateWithIdentity(AccIdentity& nIdentity)
at AccDataAccessLayer.Security.AccIdentity.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
at Csla.DataPortal.Fetch(Type objectType, Object criteria)
at Csla.DataPortal.Fetch[T](Object criteria)
at AccDataAccessLayer.Security.AccIdentity.GetIdentity(String cUsername, String cPassword, String cSQLServer, String cSQLPort, SqlServerType cSqlServerType, String cDatabaseNamingConvention, Boolean cUseSSL, String cSslCertificateFileName, String cSslCertificatePassword, Boolean cSslCertificateInstalled, Boolean cCannotSetGrants, ICacheManager cCacheManager, String cSqlConnectionCharSet)
at AccDataAccessLayer.Security.AccPrincipal.Login(LocalUser cLocalUser, String cPassword, ICacheManager cCacheManager)
at ApskaitaWUI.F_Login.LoginButton_Click(Object sender, EventArgs e)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Fetch method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.Security.AccIdentity.TryAuthenticateWithIdentity(AccIdentity& nIdentity)
at AccDataAccessLayer.Security.AccIdentity.DataPortal_Fetch(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Fetch(Type objectType, Object criteria, DataPortalContext context)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Vartotojui nesuteikta prieiga prie vartotojų duomenų bazės. Kreipkitės į serverio administratorių.
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
TryLogin
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.MySqlCommandManager.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.Security.AccIdentity.TryAuthenticateWithIdentity(AccIdentity& nIdentity)
at AccDataAccessLayer.Security.AccIdentity.DataPortal_Fetch(Criteria criteria)