Compartir a través de


Troubleshooting Installation of Windows Azure Pack

The first blog post for troubleshooting WAP will logically be on installation challenges.

Some of my issues were due to security others were caused by not reading the manual. It’s my understanding that many IT Pros goes to the web when searching for help, so hopefully this can point you in the right direction.

Below you will find three things I have run into during the installation of WAP. The first one happens if you don’t have an internet connection from the WAP server and number two and three happens if you miss some important steps in the install guide. The installation guide can be found here.

How do I install WAP if I don’t have internet connection from the WAP Server

As WAP is being installed by downloading components and needed pre-requisites from the internet, it can be a challenge to install it without internet connection.

Error: Web PI 4.6 can’t connect to XML feed online

Cause: WAP server can’t get internet connection.

Solution: Download and copy Web IP files from a computer with internet connection to the WAP server. To do this do the following:

1. Download and Install Microsoft Web Platform Installer from here (currently this is version 4.6)

2. Run the following command line: "%ProgramFiles%\Microsoft\Web Platform Installer\WebpiCmd.exe" /Offline /Products:”WAP_SingleMachineInstallation” /Path:"C:\WebpiOfflineFeed"
/XML:“<https://www.microsoft.com/web/webpi/4.6/webproductlist.xml”> /Log:"C:\WebpiCmd.log"

imageimage

This command will run for a while and download files for a total size of aprox 253 Mb

3. Copy “Microsoft Web Platform Installer” install file and the C:\WebpiOfflineFeed folder to the WAP server.

5. Login as an administrator on the WAP Server

6. Install “Microsoft Web Platform Installer”

You now have two options to install WAP

  • Use command line and run the installation.
  • Use GUI mode to run the installaion.

To use Comamnd Line do the following:

1. Start a command prompt as administrator

2. Run the following command: webPicmd /install /products:”WAP_SingleMachineInstallation” /XML:”<Path to local webproductlist.XML>”

3. You will be asked to accept license agreement, Enter Y to proceed

    image

4. WAP will now install on the server

To use GUI do the following:

1. Run regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebPlatformInstaller

2. Right click on WebPlatformInstaller folder and select New >  String Value

3. Name the String Value: ProductXMLLocation

4. Click on ProductXMLLocation and specify Value Data:“<Path to the local webproductlist.XML>”

image

5. Close Registry Editor

6. Launch Microsoft Web platform installer from the start menu.

7. Verify that Primary feed has been overwritten to the local webproductlist.XML

image

8. Select Products from the top menu

9. Find Windows Azure Pack: Portal and API Express

image

14. Click Install

15. You will be asked to accept license agreement, Click “I Accept” to proceed

16. WAP will now install on the server

500 Internal Server Error - Failed to configure databases and services

Error: User gets an error when installation or WAP is running: 500 Internal Server Error - Failed to configure databases and services: Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions

Cause: This error may occur if Internet Explorer is launched without administrator rights.

Solution: Web Browser does not have the needed rights to configure settings in WAP, launch browser as administrator when launching WAP configuration web page (https://localhost:30101/). To do this do the following

1. Right-click on your link to Internet Explorer and choose Run as administrator

2. Connect to https://localhost:30101/

3. Start configuring Windows Azure Portal

Access Denied: The User does not have permissions to access the Service Manger API

Error: Access Denied: The User does not have permissions to access the Service Manger API.

image

Cause:   User membership in "MgmtSvc Operators" local group will not be reflected for the security token.

The claims based auth will add your users and groups to security token. Since "MgmtSvc Operators" was just created and administrator were just added as member, it will not be in the security token.

Solution: User credentials is not registered correctly in WAP right after installation, to fix this sing out of Windows and sign back in should fix the issue.

Please let me know if you have run into other challenges and I’ll be happy to add it to the list of things that can cause challenges installing WAP.

Happy installing Windows Azure Pack.

Next blog post will be:

Troubleshooting Windows Azure Pack, SPF & VMM

  • How to verify SPF is working correctly end to end
  • How to troubleshoot integration between WAP, SPF and VMM.

Stay tuned!

If you are looking for other areas of troubleshooting WAP, have a look here: Troubleshooting Installation & Configuration of Windows Azure Pack – An Introduction

Comments

  • Anonymous
    January 01, 2003
    I get this error on Admin Authentication Site. 500 Internal Server Error - Failed to configure databases and services: Unknown error (0x80005000)This was during configuration windows azure pack. Do you have any idea why it occurs? I try to install Windows Azure Pack express on server 2012 R2 data center.

  • Anonymous
    January 01, 2003
    I am getting the following error while installing the Web Sites V2. I did run the IE as admin. I selected pre-configured windows file server. also changed it to stand alone and but no use, same error prevailed.File Server500 Internal Server Error - Failed to configure databases and services: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

  • Anonymous
    January 01, 2003
    Praveen,

    if you are using latest WPI, change version 4.6 to 5.0 in xml definition

    www.microsoft.com/web/webpi/4.6/webproductlist.xml -> www.microsoft.com/web/webpi/5.0/webproductlist.xml

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Hi AnonymousCould I get you to check the following.What rights does the user have you are installing with, is it local administrator?When you launched the IE did you do that with administrative rights (Run as administrator)?Are any of the other config areas failing?ThanksAnders

  • Anonymous
    November 06, 2013
    Hi There appears to be fairly significant feature overlap between Azure Pack and App Controller. Could you please point me to a resource which compares and contrasts the features and functionality of these two products. I'm not looking for pointers to information on each of the individual products, but rather a comparison of one to the other, in order to properly understand the differences between the two. Thanks.

  • Anonymous
    November 11, 2013
    The comment has been removed

  • Anonymous
    November 27, 2013
    If anyone is having problems with the offline install commands, here they are untainted by formatting (hopefully). Offline Pull Command: "%ProgramFiles%MicrosoftWeb Platform InstallerWebpiCmd.exe" /Offline /Products:WAP_SingleMachineInstallation /Path:"C:WebpiOfflineFeed" /XML:"www.microsoft.com/.../webproductlist.xml" /Log:"C:WebpiCmd.log" Offline install Command: webPicmd /install /products:WAP_SingleMachineInstallation /XML:C:WebpiOfflineFeedfeedslatestwebproductlist.xml Great post Anders, thanks!

  • Anonymous
    December 20, 2013
    Pingback from Windows Azure Pack Blog Post Overview on Building Clouds & TechNet - Building Clouds Blog - Site Home - TechNet Blogs

  • Anonymous
    December 23, 2013
    Yksityinen pilvipalvelu koostuu useasta eri elementistä, joita olemme tämän syksyn aikana

  • Anonymous
    January 22, 2014
    After numerous requests from people we have talked to, we are now doing a blog post on how to install

  • Anonymous
    January 30, 2014
    When running the wizard after installation I get the same error on the following features: * Usage Extension (Service) * Usage Extension (Collector) * MySQL Extension * SQL Server Extension * Web App Gallery Extension 500 Internal Server Error - Failed to configure databases and services: Could not obtain exclusive lock on database 'model'. Retry the operation later. CREATE DATABASE failed. Some file names listed could not be created. Check related errors. The other features (e.g. tenant/admin API's) appear to install correctly. Any ideas on how to resolve this or troubleshoot further?

  • Anonymous
    March 04, 2014
    Hi Anders Ravnholt,

    Thanks for nice post!

    But after installation of WAP & Configuration of DB, I am unable to register SPF with local account (SPF_SVC_REG- which is recommended to be created as local user on SPF VM) as it says credentials provided is not valid. I have recreated User with new password & then Tried again but it fails with same error.

    Can you please help me out for registering SPF in Admin Portal and integration of SCVMM Server with portal server?

    With Best Regards,
    Mayank Dhama

  • Anonymous
    March 05, 2014
    Hi Anders Ravnholt,

    I did it, Need to add that user as a member of SPF groups (Admin, Provider, VMM & Usage web service) before going to register SPF in admin portal.

    After that need to plan, configure it, add cloud, create user and login with that user to tenant site and then deploy VM over cloud.

    Thanks a lot for nice post again. I need an option for OFFLINE installation of WAP.

    With Best Regards,
    Mayank Dhama

  • Anonymous
    March 06, 2014
    The comment has been removed

  • Anonymous
    March 11, 2014
    Wow, this helped a lot! Though, now I'm trying to install Web Sites v2 with this same approach, I'm not seeing Web Sites v2 called out as an application when using the /List /ListOption:Available.

    I'm able to install it with a functioning internet connection, which let's me stand up a proof of concept, but I'm not seeing a way to make this install available as an offline option (ie to download and deploy in a datacenter).

  • Anonymous
    April 14, 2014
    immediately following a "successful" installation, i'm getting "This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying." on https://localhost:30101/. I am a local administrator in the MgmtSvc Operators group running IE as administrator after having logged out and rebooted repeatedly. if I don't run IE as administrator, I get prompted for credentials, which are not accepted, even though I am a local administrator in the MgmtSvc Operators group who has logged out and rebooted repeatedly.

  • Anonymous
    May 08, 2014
    原文链接: http://blogs.technet.com/b/privatecloud/archive/2013/12/06/windows-azure-pack-installing-amp-configuring

  • Anonymous
    May 20, 2014
    hi
    my computer is behind a proxy server.
    I can't download and getting the following error.

    -------------
    Loading products in online feeds ...
    Unexpected exception occurred
    Url 'https://www.microsoft.com/web/webpi/4.6/webproductlist.xml' returned HTTP status code: 407
    ---------------------

    Please suggest how can i connect within powershell to go internet using proxy address.

    thanks
    Jamal

  • Anonymous
    June 04, 2014
    Could you please help me? I am using below syntax

    C:Program FilesMicrosoftWeb Platform Installer>WebpiCmd.exe /Offline /Product
    s:WAP_SingleMachineInstallation /Path:C:Pravpn2 /XML:www.microsoft.com/web
    /webpi/4.6/webproductlist.xml Log:C:Pravpn2WebpiCmd.log,

    but it is not working.

    I tried the below as well

    C:Program FilesMicrosoftWeb Platform Installer>WebpiCmd.exe /Offline /Product
    s:"WAP_SingleMachineInstallation" /Path:"C:Pravpn2" /XML:"www.microsoft.com/web
    /webpi/4.6/webproductlist.xml" Log:"C:Pravpn2WebpiCmd.log"

  • Anonymous
    August 11, 2014
    I was also facing windows troubleshooting issue with my laptop I was not able to proper installation with my windows 7 then I move to technical help and now my laptop is working properly.
    http://www.maintainmypc.com/technical-support/ms-windows/support-for-windows-7.php

  • Anonymous
    November 26, 2014
    The comment has been removed

  • Anonymous
    December 06, 2014
    The comment has been removed