O
openleren
Hi all, how can I use a relative path in my web.config file for an Access
db?:
Instead of using
<configuration>
<appSettings>
<add key="conAccess" value="microsoft.jet.oledb.4.0;data
source=c:/Inetpub/MyApp/data/database.mdb" />
...
I would rather use
<add key="conAccess" value="microsoft.jet.oledb.4.0;data
source=data/database.mdb" />
however this doesn't work: I get an error like
"C:\WINNT\system32\data\database.mdb is not a valid path. ..."
can anyone help?
cheers, Jan Vandorpe
db?:
Instead of using
<configuration>
<appSettings>
<add key="conAccess" value="microsoft.jet.oledb.4.0;data
source=c:/Inetpub/MyApp/data/database.mdb" />
...
I would rather use
<add key="conAccess" value="microsoft.jet.oledb.4.0;data
source=data/database.mdb" />
however this doesn't work: I get an error like
"C:\WINNT\system32\data\database.mdb is not a valid path. ..."
can anyone help?
cheers, Jan Vandorpe