HQuintas Posted January 21, 2016 at 01:02 PM Report Share #592253 Posted January 21, 2016 at 01:02 PM Boas Troquei de máquina e de versão do vb .net. Agora está me dando um erro (mas estive isto a funcionar neste pc novo) Erro: "An unhandled exception of type 'System.AccessViolationException' occurred in System.Data.SQLite.dll Additional information: Tentativa de ler ou escrever na memória protegida. Isto é normalmente uma indicação de que existe outra memória danificada." Sempre que vai abrir a conexão a base de dados, dá-me este erro. Windows 10 pro (64bit) Versão do vb .net 2013 Framework v4.0 System.Data.SQLite .net 1.0.79.0 Como resolver? Obrigado Link to comment Share on other sites More sharing options...
HQuintas Posted January 21, 2016 at 06:01 PM Author Report Share #592280 Posted January 21, 2016 at 06:01 PM ok, consegui Actualizei a framework para 4.5 e sqlite para 1.0.99.0 Link to comment Share on other sites More sharing options...
HQuintas Posted January 23, 2016 at 07:48 AM Author Report Share #592390 Posted January 23, 2016 at 07:48 AM (edited) Boas Na verdade continuo com problemas desde que mudei e actualizei a dll do sqlite para 1.0.99.0 Estamos surgindo muitos erros. "An unhandled exception of type 'System.Data.SQLite.SQLiteException' occurred in System.Data.SQLite.dllAdditional information: database is locked database is locked" Ao fazer uma simples rotina: Dim strSQL As String = "delete from optimiza" Dim cmd As New SQLiteCommand(strSQL, connection) connection.Open() cmd.ExecuteNonQuery() connection.Close() O que se passa? Edited January 23, 2016 at 07:49 AM by HQuintas Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now