I'm trying to read my Access database in ASP.Net and I'm having some difficulty. It works on my system, but not on jodo. Hence, I must be doing something wrong.
I'm using a System.Data.OleDb.OleDbDataAdapter and the following connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & mydatabase & ";Mode=Share Deny None"
I'm getting mydatabase by concatenating System.Web.HttpRuntime.AppDomainAppPath with my dbfolder\ and databasename (using backslash). This is not working.
Any suggestions?
Also, any recommendations on where to put database files? At other hosts, I used to put them in a folder off the root, but I had control over permissions.
Any help would be greatly appreciated.
I'm using a System.Data.OleDb.OleDbDataAdapter and the following connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & mydatabase & ";Mode=Share Deny None"
I'm getting mydatabase by concatenating System.Web.HttpRuntime.AppDomainAppPath with my dbfolder\ and databasename (using backslash). This is not working.
Any suggestions?
Also, any recommendations on where to put database files? At other hosts, I used to put them in a folder off the root, but I had control over permissions.
Any help would be greatly appreciated.