0
讓我們考慮一個運行此命令我得到錯誤的通過ODBC驅動程序連接從DOTNET的SQL Server
ERROR [08001] [Microsoft][SQL Server Native Client 10.0]Registry information is corrupt or missing. Make sure the provider installed and registered correctly.
ERROR [08001] [Microsoft][SQL Server Native Client 10.0]Client unable to establish connection
ERROR [08001] [Microsoft][SQL Server Native Client 10.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 connections. For more information see SQL Server Books Online.
2013-02-12 12:17:00,247
ERROR
Error at Executenonquery:ExecuteNonQuery: CommandText property has not been initialized
,同時通過ODBC驅動程序
"Driver={SQL Server Native Client 10.0};Server=xxx.xx.xx.xx,xxxx;Database=mydata;Uid=xx;Pwd=xxxxxx;"
連接的SQL Server下面的連接字符串我在該機器中也啓用了遠程連接。
在當前機器:視覺工作室已過期和SQL Server 2008 R2未安裝。
我有什麼,以解決這一問題
等待您的答覆,現在做..
更新:
,而我在登記管理數據源[ODBC]在系統驅動程序我得到的答覆如下:
Connection failed
sqlsatte:'08001'
Sql Server Error:27
Registry information is corrupt or missing.
操作系統事件日誌告訴你什麼? – 2013-02-12 06:57:29
@ ling.s我在哪裏可以找到它? – GowthamanSS 2013-02-12 07:00:07