lundi 26 octobre 2015

How to configure Permissions: SQLite for ASP.Net Website?

I am trying to use SQLite for my ASP.Net Website. The code is working fine in a Windows Application, but not in the WebAPP. I think I have to change some File Permissions to let the Website set up a Database. But how?

I always get a ERROR at the open() statement. Saying cannot open file.

Following the Code, which is working fine in the WindowsAPP:

Dim connDB as SQLiteConnection = New SQLiteConnection("PlayerDB.sqlite")
Dim conn = New SQLiteConnection("Data Source=PlayerDB.sqlite;Version=3")
conn.open()   ---> ERROR
...

I hope someone can help me quick.

Thanks.

Aucun commentaire:

Enregistrer un commentaire