Sveiki, po atnaujinimo ir man meta klaidą, niekas neatsidaro tik Bendras. DB struktūrą patikrinau. Dar bandžiau kompiuterį perkrauti, niekas nepadeda
Programos versija: Apskaita5 v. 2021-03-05, IsPortable = False, UseServer = False, Connection = Local
Windows versija: Microsoft Windows NT 6.2.9200.0
.NET versija: 2.0.50727.9151
Klaidos duomenys:
Klaidos tipas: System.Exception
Klaidos tekstas:
Klaida. Nepavyko prisijungti prie duomenų bazės: File opened that is not a database file
file is encrypted or is not a database
Klaidos šaltinis(Ex.Source):
AccDataAccessLayer
Klaidos metodas (Ex.TargetSite):
TryLoginLocal
Klaidos stekas:
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TryLoginLocal(AccIdentity cIdentity, List`1& cRoles)
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.TryLogin(AccIdentity CurrentIdentity, List`1& cRoles)
at AccDataAccessLayer.Security.AccIdentity..ctor(SqlServerType cSqlServerType, ICacheManager cCacheManager, String cDatabaseName, String cPassword)
at AccDataAccessLayer.Security.AccIdentity.GetIdentity(String cDatabase, ICacheManager cCacheManager, String cPassword)
at AccDataAccessLayer.Security.AccPrincipal.Login(String cDatabase, ICacheManager cCacheManager, String cPassword)
at ApskaitaWUI.MDIParent1.LoginToCompany(Object sender, EventArgs e)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tipas: System.Data.SQLite.SQLiteException
Klaidos tekstas:
File opened that is not a database file
file is encrypted or is not a database
Klaidos šaltinis(Ex.Source):
System.Data.SQLite
Klaidos metodas (Ex.TargetSite):
Prepare
Klaidos stekas:
at System.Data.SQLite.SQLite3.Prepare(String strSql, SQLiteStatement previous, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteConnection.Open()
at AccDataAccessLayer.SqlServerSpecificMethods.SQLiteCommandManager.TryLoginLocal(AccIdentity cIdentity, List`1& cRoles)