SQL SERVER2008 DBX Error: Driver could not be properly initialized


raised exception class TDBXError with message 'DBX Error:  Driver could not be properly initialized.  Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path.'.

http://docwiki.embarcadero.com/RADStudio/XE7/en/DbExpress_Database_Specific_Information

 Install the SQL Server Native Client for Windows

2008

http://msdn.microsoft.com/en-us/sqlserver/ff658533.aspx

 

2014

http://msdn.microsoft.com/en-us/library/ms131321.aspx

 

SQL Server 2000:sqlsrv32.dll、Ntwdblib.DLL

SQL Server 2005:Sqlncli.dll

SQL Server 2008:Sqlncli10.dll

SQL Server 2008 R2:Sqlncli10.dll

SQL Server 2012:Sqlncli11.dll

 

http://jimshu.blog.51cto.com/3171847/1397348

 

sql2008在這里下載操作系統對的sqlncli.msi setup ok!!

http://www.microsoft.com/en-us/download/confirmation.aspx?id=27596

       X86 Package (sqlncli.msi)
        X64 Package (sqlncli.msi)
        IA64 Package (sqlncli.msi)

 安裝包給system32和SysWOW64路徑下 放2個文件sqlncli10.dll、sqlnclir10.rll

win7 64位os,刪除C:\Windows\SysWOW64\sqlncli10.dll文件,就連接失敗!把sqlncli10.dll放到應用服務器的exe目錄下也不行,說明是只能識別到SysWOW64目錄里。

2015-01-19 14:38:31  [FireDAC][Phys][ODBC]由於系統錯誤  126: 找不到指定的模塊。 (SQL Server Native Client 10.0, C:\windows\SysWOW64\sqlncli10.dll),指定驅動程序無法加載。

 

如果沒有安裝包sqlncli.msi,從已安裝的機器上拷貝這2個文件,也是報錯

2015-01-19 14:55:49  SQL State: 08001, SQL Error Code: 0
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote

connectios.For more information see SQL SERVER  Books Online.

總結:只能安裝sqlncli.msi來解決

2015-01-19 14:55:49  SQL State: 08001, SQL Error Code: 0
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow r


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM