We want to use AppFabric cache on our projects with using Sqlite including ReadThruogh-WriteBehind feature. I successfully created Provider and registered to GAC. If i chose mssql service as data provider, everything works successfully. On the other hand, if i chose sqlite, it throws an exception at this line on Provider in GAC .
SQLiteConnection conn = new SQLiteConnection(@"path");
This exception comes from Provider in GAC, but if i write this line in service, it works. So problem is, if i want to connect sqlite from GAC, it throws an exception(The cache provider threw an exception during read.) no more explanation in error message, but if try to connect sqlite from service, it connects successfully. Sqlite db file allows everyone to read. It seems there is an authentication problem or sth like that. What can be the solution?
Aucun commentaire:
Enregistrer un commentaire