ASP中用OLEDB居然不能通过相对路径连接到access!!!???
数据库路径为 C:\Inetpub\wwwroot\mysite\db.mdb
用DreamweaverMX自定义连接字符串:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db.mdb
测试显示:"Could not find file C:\Windows\system32\db.mdb"
把Data Source换成/db,mdb时,测试显示:"Could not find file C:\db.mdb"
把Data Source换成./db,mdb时,测试显示::"Could not find file C:\Windows\system32\db.mdb"
到底怎么用相对路径才能指向正确的C:\Inetpub\wwwroot\mysite\db.mdb啊???