c# - error - "attempt to write a readonly database\r\nattempt to write a readonly database" -


i using sqlite database in wpf windows application. after installing windows application database inside folder this:

static sqliteconnection dbconnection = new sqliteconnection(@"data source=c:\program files (x86)\hedronix\qscan\test.s3db;"); 

but when trying access database location of windows application showing error.

  1. how can solve that?

  2. in situation, how can set default connection string accessing sqlite database after install application on local computer?


Comments

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - SSE Emitter : Manage timeouts and complete() -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -