我在(windows 2000)SQL server 2000 中建立了一个文件DSN,指向本机中SQlServer 中一个特定的数据库,然后将这个DSN文件拷贝至其他客户端机器中,在ODBC中测试连接,windows2000 和windows xp的机器均连接成功,唯独windows98 不行。为啥。是数据库驱动版本的问题吗??如果是这样,又该怎么修改呢???俺有的是分,只求一个完善的回答!!!
调试欢乐多
[ODBC]
DRIVER=SQL Server
UID=wlqyxkmn
WSID=ZC_WANGLIQIANG
APP=Microsoft Open Database Connectivity
SERVER=ZC_WANGLIQIANG\BARON odbc.ini 的内容
[ODBC 32 bit Data Sources]
MS Access Database=Microsoft Access Driver (*.mdb) (32 bit)
Excel Files=Microsoft Excel Driver (*.xls) (32 bit)
Visual FoxPro Database=Microsoft Visual FoxPro Driver (32 bit)
Visual FoxPro Tables=Microsoft Visual FoxPro Driver (32 bit)
dBASE Files=Microsoft dBase Driver (*.dbf) (32 bit)
MQIS=SQL Server (32 bit)
FoodMart 2000=Microsoft Access Driver (*.mdb) (32 λ)
Xtreme Sample Database=Microsoft Access Driver (*.mdb) (32 bit)
SDS=Microsoft Access Driver (*.mdb) (32 bit)
[MS Access Database]
Driver32=C:\WINNT\System32\ODBCJT32.DLL
[Excel Files]
Driver32=C:\WINNT\System32\odbcjt32.dll
[Visual FoxPro Database]
Driver32=C:\WINNT\System32\vfpodbc.dll
[Visual FoxPro Tables]
Driver32=C:\WINNT\System32\vfpodbc.dll
[dBASE Files]
Driver32=C:\WINNT\System32\odbcjt32.dll
[MQIS]
Driver32=C:\WINNT\System32\SQLSRV32.dll
[FoodMart 2000]
Driver32=C:\WINNT\System32\odbcjt32.dll
[Xtreme Sample Database]
Driver32=C:\WINNT\System32\odbcjt32.dll
[SDS]
Driver32=C:\WINNT\System32\ODBCJT32.DLL
win98 可不是这个路径
可在2000和xp的机器中就啥事没有,愁四俺了
get systemroot
then that's o.k