![圖片來自網路/圖文無關][0] 前言 今天接到領導佈置的一個任務,是之前同事負責的項目。離職了,現在客戶有些地方需要修改,由於我之前參與過,就落在我的頭上了。 然後我就把代碼弄了過來,打開發現其中需要用到水晶報表。(我覺得不好用,不想占用多餘的磁碟空間,就沒有安裝) 想想算了,大不了重新添加一下 ...
前言
今天接到領導佈置的一個任務,是之前同事負責的項目。離職了,現在客戶有些地方需要修改,由於我之前參與過,就落在我的頭上了。
然後我就把代碼弄了過來,打開發現其中需要用到水晶報表。(我覺得不好用,不想占用多餘的磁碟空間,就沒有安裝)
想想算了,大不了重新添加一下就完事了唄。
一開始都還好,沒有什麼問題。
等安裝到"SQL Server 運行時(X64)"時,彈了一個文件查找對話框:
在安裝了Visual Studio 2008 Service Pack 1之後,添加或移除功能Visual Studio可能會提示SQLSysClrTypes.msi相關文字信息如下 :
安裝程式在查找SQLSysClrTypes.msi文件. 請現在插入Microsoft Visual Studio Team System 2008 Team Suite – CHS 磁碟1.
如果你安裝的是Visual Studio 2008 Professional 版本或者其他版本或者是語言包提示的文字信息可能會有一些不同。
我開始以為是要SQL Server 安裝文件下的SQLSysClrTypes.msi文件,試了試,不行。
接著,找了visual studio 2008 service pack中的SQLSysClrTypes.msi文件,還是不行。
於是,就上網找了一下,結果就找到了這篇文章:Feature Changes in Visual Studio 2008 SP1 may prompt for SQLSysClrTypes.msi
按照這裡介紹的方法,確實可行,現在我就用我這渣渣級的英語大概翻譯一下,如有錯誤,還請指出。
解決方法
我是Windows 10系統,安裝的是Microsoft Visual Studio Team System 2008 Team Suite – CHS。
如果你沒有下載Visual Studio 2008 Service Pack 1 ,請先下載。
解壓下載的 VS2008 SP1文件並打開文件夾,進入到子目錄vs90sp1中。
在 SQLSysClrTypes.msi文件右鍵複製。
打開文件資源管理器 (例如: Windows 鍵 + 字母E) ,進入到Visual Studio 2008的安裝目錄。預設的是 “C:\Program Files\Microsoft Visual Studio 9.0”(32位系統)或者是“C:\Program Files (x86)\Microsoft Visual Studio 9.0” (64位系統)。
在目錄中找到安裝的Visual Studio產品名稱並雙擊進入。(以我為例就是: “Microsoft Visual Studio Team System 2008 Team Suite – CHS”)。
在視窗空白處右鍵 新建-文件夾,輸入文件夾名稱 “wcu” (沒有引號)。
雙擊打開新建的“wcu”文件夾。
在視窗空白處右鍵 新建-文件夾,輸入文件夾名稱 “smo” (沒有引號)。
雙擊打開新建的“smo”文件夾。
在視窗空白處右鍵 粘貼。
在提示要求 SQLSysClrTypes.msi對話框, 點擊 瀏覽 按鈕.
展開文件夾定位到步驟5中的文件夾然後點擊“確認”按鈕,不要選擇剛剛新建的“wcu\smo”文件夾。
以我為例就是:C:\Program Files (x86)\Microsoft Visual Studio 9.0\Microsoft Visual Studio Team System 2008 Team Suite - CHS在提示對話框中點擊確定按鈕。
原文如下
Download a complete layout of VS2008 SP1 if you haven’t already.
Open the directory were you copied VS2008 SP1.
Right click on SQLSysClrTypes.msi and select Copy.
Open an Explorer window (ex: Windows key + E) and browse to the directory where you installed Visual Studio 2008. By default this is “C:\Program Files\Microsoft Visual Studio 9.0” where C:\ is your system drive.
Double click on the folder that corresponds to the name of the product you installed (ex: “Microsoft Visual Studio Team System 2008 Team Suite – ENU”).
Right click on empty space in the window, click New, then Folder, and type “wcu” (without quotes).
Double click that new “wcu” folder to open it.
Right click on empty space in the window, click New, then Folder, and type “smo” (without quotes).
Double click that new “smo” folder to open it.
Right click on empty space in the window and click Paste.
In the dialog prompt requesting SQLSysClrTypes.msi, click the Browse button.
Expand folders to select the directory you opened in step 5 and click the OK button. Do not select the “wcu\smo” directory you created.
Click the OK button on the dialog prompt.
OK,本文就介紹到這裡。
如果你有更好的方法,煩請告知。
原文來自:[vs2008]Visual Studio 2008 SP1添加或刪除功能提示查找SQLSysClrTypes.msi文件