大网数据广告活动
启动与系统组件

VM templates list is missing on the WAP tenant site

· 52CE 我爱测

Describes an issue that prevents the list of VM templates on the Windows Azure Pack site from being displayed as expected. The workaround involves increasing the outgoing web request time-out setting in the TenantAPI web.config file.

This article helps you work around an issue that you can't see the list of virtual machine templates on the Windows Azure Pack (WAP) tenant site.

Original product version:   Microsoft System Center 2012 R2 Virtual Machine Manager, Windows Azure Pack (on Windows Server 2012 R2), Microsoft System Center 2012 R2 Orchestrator
Original KB number:   3051303

Symptoms

In System Center 2012 R2 Virtual Machine Manager, users don't see the expected list of virtual machine (VM) templates on the Windows Azure Pack tenant site. Therefore, tenant users cannot deploy new virtual machines. Additionally, a red circle with an exclamation mark may appear in the lower-right corner of the tenant site when the webpage loads. If you select this circle, an error message may appear:

Failed to load virtual machine templates for subscription <subscription ID>

Cause

This is a known issue in System Center 2012 R2 Virtual Machine Manager. This issue may occur when you enable a large number of VM templates for a Windows Azure Pack subscription. In this situation, web requests from the WAP tenant site may be time-out when Service Provider Foundation queries Virtual Machine Manager for the list of VM templates.

Workaround

To work around this problem, increase the outgoing web request timeout setting in the TenantAPI web.config file. To do this, follow these steps:

  1. Sign in to the WAP server by using a local administrator account.

  2. Open the folder that corresponds to the TenantAPI IIS virtual directory. The default folder is C:\inetpub\MgmtSvc-TenantAPI.

  3. In the folder for the TenantAPI virtual directory, create a copy of the web.config file.

  4. Open an elevated PowerShell window.

  5. Enter the following command in the PowerShell window:

    Unprotect-MgmtSvcConfiguration TenantAPI
    
  6. Use Notepad to open the web.config file from the TenantAPI virtual directory.

  7. Look for the following line in the <appSettings> element:

    <add key="OutgoingCallsDefaultTimeoutInSeconds" value="100" />

  8. If there's no <add key> line for OutgoingCallsDefaultTimeoutInSeconds, create one.

  9. Change the time-out value from the default (100 seconds) to a length of time that is sufficient for SPF to query the list of VM templates from VMM. For example, set the value to 180 to allow outgoing web requests three minutes to be completed.

  10. Save and close the web.config file.

  11. Enter the following command in the PowerShell window:

    Protect-MgmtSvcConfiguration TenantAPI
    
  12. In IIS Manager, recycle the MgmtSvc-TenantSite application pool. Or, run iisreset in the PowerShell window.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。