Unable to fetch the SharePoint Server version

Unable to fetch the SharePoint Server version

When adding a SharePoint Server monitor in Applications Manager, the SharePoint Server version selected in Applications Manager is validated against the version found on the target server. 

If you encounter the error "Unable to fetch the SharePoint Server version" while adding the SharePoint Server monitor, it may be due to one of the following reasons: 
  1. The SharePoint Server application is not running on the target server. 
  2. The target server is not reachable.
  3. WMI queries cannot be executed to retrieve the SharePoint Server version details. 
Follow the steps below to manually verify the SharePoint Server version using the VBScript utilized by the monitor:
  1. Open Command Prompt in Administrator mode on the Applications Manager-installed machine.
  2. Navigate to the <Applications Manager Home>\working\conf\application\scripts directory.
  3. Execute the following command by replacing hostnameusername, and password with the credentials of the target server used in the monitor:
    Quote
    cscript wmiget.vbs hostname username password "select Version from Win32_Product where Name like '%Microsoft Sharepoint Server%'"
  4. Check the command output to obtain the SharePoint Server version number.
Use the following reference to identify the SharePoint Server version based on the version number retrieved from the command output:
  1. SharePoint Server 2016 and 2019: Version number starts with 16 (e.g., 16.x.xxxx.xxxx)
  2. SharePoint Server 2013: Version number starts with 15 (e.g., 15.x.xxxx.xxxx)
  3. SharePoint Server 2010: Version number starts with 14 (e.g., 14.x.xxxx.xxxx)
  4. SharePoint Server 2007: Version number starts with 12 (e.g., 12.x.xxxx.xxxx)
Notes
  1. If an error occurs while executing the above steps, try running the same WMI query directly using the wbemtest tool on the Applications Manager server by connecting to the remote server.
  2. Refer to the section "Checking connectivity with WMI Tester" for instructions on using the wbemtest tool. If an error occurs, troubleshoot using the same KB.
  3. If an error persists, troubleshoot using this KB for WMI connection related issues.

                  New to ADSelfService Plus?