NetWorker :使用 SSMS 19.1 在 SQL Server 上安裝 NMM 19.9 不會顯示在工具列中
Summary: 在具有 SQL Server Management Studio 19.1 (SSMS) 的 SQL Server 上安裝適用於 Microsoft (NMM) 19.9 的 NetWorker 模組不會顯示在 SSMS 工具列中。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
在具有 SSMS 19.1 的 SQL Server 上安裝 Microsoft 19.9 的 NetWorker 模組不會顯示在 SSMS 工具列中。
- 在具有 SSMS 19.1 的 SQL Server 上安裝 NMM 19.9 不會顯示在 SSMS 工具列中。
- 實際附掛程式已成功安裝。
- 附掛程式可從開始功能表捷徑啟動,並成功備份。
Cause
此問題的根本原因是使用 VSIXInstaller 安裝 SQL Server Management Studio 擴展,自 SSMS 版本 18.x 以來,Microsoft不再支援此擴展。
- Microsoft已停止使用具有 SSMS 18.x 和更新版本的 VSIXInstaller。
- 此更改會影響擴展的安裝和顯示,包括 SSMS 工具列中的 Microsoft NetWorker 模組 (NMM) 19.9。
- 此問題與附掛程式的實際安裝無關,可從開始功能表捷徑啟動,並成功備份。
- 問題在於,由於安裝過程的更改,外掛程式未出現在 SSMS 工具列中。
警示:此問題特定於 SSMS 18.x 及更高版本,具有早期版本 SSMS 的使用者可能不會遇到此問題。
參考資料:Microsoft文章 在 SQL Server Management Studio (SSMS) 中安裝擴充功能
Resolution
此問題的解決方案可能會在 Microsoft 版的 NetWorker Module 未來版本中提供。
當前解決方案涉及創建包定義檔並將必要的檔複製到正確位置的解決方法。
使用下列因應措施,直到解決方案整合到 NetWorker/NMM 版本中為止。
便條:此解決方案是一種因應措施,可能不適用於未來版本的 SQL Server Management Studio。
當前解決方案涉及創建包定義檔並將必要的檔複製到正確位置的解決方法。
使用下列因應措施,直到解決方案整合到 NetWorker/NMM 版本中為止。
- 複製檔案:
From: C:\Program Files\EMC NetWorker\nsr\bin\plugin\ To: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Extensions\
- 建立套件定義檔案:
Named: NWSSMSVSIXPackage.pkgdef In the folder: C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Extensions\
檔案中包含以下內容(格式特定):
[$RootKey$\InstalledProducts\NWSSMSPackage]
@="#110"
"Package"="{89089cd1-c652-42b2-8fd1-209e9ade1a2c}"
"PID"="1.0"
"ProductDetails"="#112"
"LogoID"="#400"
[$RootKey$\Packages\{89089cd1-c652-42b2-8fd1-209e9ade1a2c}]
@="NWSSMSVSIXPackage.NWSSMSPackage, NWSSMSVSIXPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null"
"InprocServer32"="$WinDir$\SYSTEM32\MSCOREE.DLL"
"Class"="NWSSMSVSIXPackage.NWSSMSPackage"
"CodeBase"="$PackageFolder$\NWSSMSVSIXPackage.dll"
[$RootKey$\AutoLoadPackages\{adfc4e64-0397-11d1-9f4e-00a0c911004f}]
"{89089cd1-c652-42b2-8fd1-209e9ade1a2c}"=dword:00000000
[$RootKey$\Menus]
"{89089cd1-c652-42b2-8fd1-209e9ade1a2c}"=", Menus.ctmenu, 1"
- 某些編輯工具(如記事本)無法保留所需的格式。
- 建立套裝定義檔案時,請使用附加的檔案 NWSSMSVSIXPackage.pkgdef,而不是手動建立,以確保格式正確。
- 建立套件定義檔案後,請重新啟動 SQL Server Management Studio 以套用變更。
- 確認適用於 Microsoft 的 NetWorker 模組顯示在 SQL Server Management Studio 工具列中。
便條:此解決方案是一種因應措施,可能不適用於未來版本的 SQL Server Management Studio。
Article Properties
Article Number: 000216455
Article Type: Solution
Last Modified: 31 Oct 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.