SALES: 1-800-867-1380

Troubleshooting Deployment Problems Using the Deployment Properties

Updated: January 13, 2014

When you deploy an application package to Windows Azure, you can obtain information about the deployment from the Properties pane in the Management Portal. You can use the details in this pane to help you troubleshoot problems with the cloud service, and you can provide this information to Windows Azure support when opening a new support request.

noteNote
You can copy the contents of the Properties pane to the clipboard by clicking the icon in the upper-right corner of the pane.

The following table lists some possible deployment problems that can occur and resolution steps for fixing the problem. If these suggestions do not resolve your problem, contact Windows Azure Support.

 

Problem Resolution

I cannot access my website even though my deployment is started and all role instances are ready.

The website URL link shown in the portal does not include the port. The default port for websites is 80. However, if your application is configured to run in a different port, you must add the correct port to the URL when accessing the website.

  1. In the Management Portal, click the deployment of your cloud service.

  2. In the Properties pane of the Management Portal, check the ports for the role instances (under Input Endpoints).

  3. If the port is not 80, add the correct port value to the URL when you access the application. To specify a non-default port, type the URL, followed by a colon (:), followed by the port number with no spaces.

My roles instances restarted without me doing anything.

Service healing occurs automatically when the Windows Azure detects problematic nodes and moves role instances to new nodes. When this occurs, you might see your role instances restarting automatically. To find out if service healing occurred:

  1. In the Management Portal, click the deployment of your cloud service.

  2. In the Properties pane of the Management Portal, review the information and determine if service healing occurred during the time you observed the roles restarting.

Roles will also restart roughly once per month during Host OS and Guest OS upgrades.  For more information, see the blog post Role Instance Restarts Due to OS Upgrades

I cannot do a VIP swap and receive an error whenever I try.

A VIP swap is not allowed if a deployment update is in progress. Deployment updates can occur automatically when:

  • A new guest operating system is available and you are configured for automatic updates

  • Service healing occurs

To find out if an automatic upgrade is preventing you from doing a VIP swap:

  1. In the Management Portal, click the deployment of your cloud service.

  2. In the Properties pane of the Management Portal, look at the value of Status. If it is Ready, then check Last operation to see if one recently happened that might prevent the VIP swap.

  3. Repeat steps 1 and 2 for the production deployment.

  4. If an automatic update is in process, wait for it to finish before trying to do the VIP swap.

A role instance is looping between Started, Initializing, Busy, and Stopped.

This condition could indicate a problem with your application code, package or configuration file. If true, then you should be able to see the Status changing every few minutes and the Windows Azure Management Portal may say something like Recycling, Busy, or Initializing. This indicates that there is something wrong with the application that is keeping the role instance from running.

For more information on how to troubleshoot for this problem, see the blog post Windows Azure PaaS Compute Diagnostics Data and Common Issues Which Cause Roles to Recycle.

My application stopped working.

  1. In the Management Portal, click the role instance.

  2. In the Properties pane of the Management Portal, consider the following conditions to resolve your problem:

    • If the role instance has recently stopped (you can check the value of Abort count), the deployment could be updating. Wait to see if the role instance resumes functioning on its own.

    • If the role instance is Busy, check your application code to see if the StatusCheck event is handled. You might need to add or fix some code that handles this event.

    • Go through the diagnostic data and troubleshooting scenarios in the blog post Windows Azure PaaS Compute Diagnostics Data.

noteNote
If you restart your cloud service, you reset the properties for the deployment, effectively erasing the information for the original problem.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft