I have published my web project to local iis but framework can't find the "db" file. In debugging there is no problem, i can connect but in localhost i can't. Here is my connection string:
<connectionStrings>
<add name="PROD" connectionString="data source=app.db;" providerName="System.Data.SQLite"/>
</connectionStrings>
I tried everything "../app.db" "direct_path" "~/app.db"
What might the problem?
It can find the database in D:\ drive or other than inetpub drive. I didn't understand if it's a permission problem or not. How can i find the exact solution for that?