Hi,
Thanks, your post helped me. But is there any way to detect the location of data directory in the runtime?
Let me specifically explain my problem. I use typed datasets with connection to my local access database in App_Data. It works perefctly on my system, but when I transfer it to the server it stops connecting to the DB. The connection string in the web.config file is defined as:
- <add name="db_workshopConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db_workshop.mdb" providerName="System.Data.OleDb"/>
Now I am looking for a way to fix this issue.
Thanks