重新安装ODBC 驱动程序方法之一

事实上,我们只需要用odbcconf.exe来重新注册一下ODBC Driver就可以了。

在Windows/System32目录下有几个脚本文件,可以来完成驱动程序的注册:

odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\mdaccore.rsp
odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\sqlclnt.rsp
odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\odbcconf.rsp
odbcconf.exe /S /Lv odbcconf.log /F %systemroot%\system32\redist.rsp

产生这个问题的原因是某些使用ODBC数据源的程序,在卸载的时候,会将ODBC Driver的信息都删除掉。

猜你喜欢

转载自robin88129.iteye.com/blog/844891
今日推荐