cuiyi's blog(崔毅 crazycy)

          記錄點(diǎn)滴 鑒往事之得失 以資于發(fā)展
          數(shù)據(jù)加載中……

          SQL2008R2: A network error occurred while attempting to read from the file C:..\..\sqlncli.msi

          客戶(hù)現(xiàn)場(chǎng),安裝sqlserver 2008R2;因?yàn)榍榫靶枰蛻?hù)指定了一架在用的筆記本在預(yù)演。

          突然遭遇了從來(lái)沒(méi)有的問(wèn)題:A network error occurred while attempting to read from the file C:..\..\sqlncli.msi  如圖。

          因?yàn)榫嚯x下班時(shí)間很近了,很著急也很惱火,搗鼓來(lái)?yè)v鼓去,最后打開(kāi)了控制面板,一看,媽呀好多SQL Server的東東,挨著刪除吧。。。居然就可以安裝了了。。。。

          最終發(fā)現(xiàn)如果任何 SQLNCLI或者Native Client存在了,就會(huì)出現(xiàn)這個(gè)問(wèn)題。
          Microsoft大哥居然弄了這么黑的一招。。。

          同時(shí)看到有人遭遇了類(lèi)似的悲劇:
          Finally got the Client Tools and Mangement Studio installed. What I did was remove Microsoft SQL Server 2008 Native Client in Add or Remove Programs (before I was just trying to uninstall Microsoft SQL Server 2008 and it failed). After Native Client was removed, I reinstalled client tools and mangement studio from a dvd (was mounting the iso before). Everything installed perfectly.

          這個(gè)人解釋的更多:
          The cause of the error
          I wondered what was different between my clean test-VM and my server that I was now attempting to install SQL-SERVER 2008 R2 Client Tools and SSMS onto.  Both were 64-Bit OS's and same setup, etc., but one was a clean VM.  This got me thinking

          I had PREVIOUSLY installed JUST the SQLNCLI (SQL-Server Native Client) for SQL 2008 R2 onto my physical system, in order to test application connectivity to a SQL2008R2 database.  So, could that be it!?  YES!  After uninstalling any previously installed SQLNCLI applications, and re-running the SQL-Server installer, amazingly my "network errors" were gone and the installation was fixed!  

          Microsoft: GIVE MEANINGFUL ERROR MESSAGES!  All the installer had to do was say that "previous installations of SQLNCLI / native client exist and must be removed before installing" in fact, the PREREQUISITES-CHECK SHOULD HAVE TESTED FOR THIS if it can cause a total failure to install!  

          posted on 2013-06-19 22:24 crazycy 閱讀(2787) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): DBMS

          主站蜘蛛池模板: 姜堰市| 绥滨县| 东宁县| 水城县| 房产| 潼关县| 宜春市| 新河县| 洞口县| 兰溪市| 夹江县| 沧州市| 乌兰浩特市| 吉林省| 崇阳县| 石景山区| 绥芬河市| 南乐县| 民县| 浠水县| 深圳市| 济宁市| 壤塘县| 金川县| 陵水| 加查县| 武功县| 安岳县| 龙陵县| 聊城市| 徐州市| 会宁县| 远安县| 海阳市| 金昌市| 霸州市| 偃师市| 青海省| 遂昌县| 齐河县| 凯里市|