You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this article, you'll troubleshoot over constrained allocation failures that prevent deployment of Azure Cloud Services (classic).
17
+
In this article, you troubleshoot over constrained allocation failures that prevent deployment of Azure Cloud Services (classic).
18
18
19
19
When you deploy instances to a Cloud Service or add new web or worker role instances, Microsoft Azure allocates compute resources.
20
20
@@ -29,7 +29,7 @@ You may occasionally receive errors during these operations even before you reac
29
29
30
30
|Exception Type |Error Message |
31
31
|---------|---------|
32
-
|OverconstrainedAllocationRequest |The VM size (or combination of VM sizes) required by this deployment cannot be provisioned due to deployment request constraints. If possible, try relaxing constraints such as virtual network bindings, deploying to a hosted service with no other deployment in it and to a different affinity group or with no affinity group, or try deploying to a different region.|
32
+
|OverconstrainedAllocationRequest |The virtual machine (VM) size (or combination of VM sizes) required by this deployment can't be provisioned due to deployment request constraints. If possible, try relaxing constraints such as virtual network bindings. Also try deploying to a hosted service with no other deployment in it and to a different affinity group or with no affinity group. You can try deploying to a different region altogether.|
33
33
34
34
## Cause
35
35
@@ -49,9 +49,9 @@ Follow the guidance for allocation failures in the following scenarios.
49
49
50
50
### Not pinned to a cluster
51
51
52
-
The first time you deploy a Cloud service (classic), the cluster hasn't been selected yet, so the cloud service isn't *pinned*. Azure may have a deployment failure because:
52
+
The first time you deploy a Cloud service (classic), the cluster is unselected, so the cloud service isn't *pinned*. Azure may have a deployment failure because:
53
53
54
-
- You've selected a particular size that isn't available in the region.
54
+
- You selected a particular size that isn't available in the region.
55
55
- The combination of sizes that are needed across different roles isn't available in the region.
56
56
57
57
When you experience an allocation error in this scenario, the recommended course of action is to check the available sizes in the region and change the size you previously specified.
@@ -65,7 +65,7 @@ When you experience an allocation error in this scenario, the recommended course
65
65
66
66
### Pinned to a cluster
67
67
68
-
Existing cloud services are *pinned* to a cluster. Any further deployments for the Cloud service (classic) will happen in the same cluster.
68
+
Existing cloud services are *pinned* to a cluster. Any further deployments for the Cloud service (classic) happen in the same cluster.
69
69
70
70
When you experience an allocation error in this scenario, the recommended course of action is to redeploy to a new Cloud service (classic) (and update the *CNAME*).
71
71
@@ -97,4 +97,4 @@ For more allocation failure solutions and background information:
97
97
> [!div class="nextstepaction"]
98
98
> [Allocation failures - Cloud service (classic)](cloud-services-allocation-failures.md)
99
99
100
-
If your Azure issue isn't addressed in this article, visit the Azure forums on [MSDN and Stack Overflow](https://azure.microsoft.com/support/forums/). You can post your issue in these forums, or post to [@AzureSupport on Twitter](https://twitter.com/AzureSupport). You also can submit an Azure support request. To submit a support request, on the [Azure support](https://azure.microsoft.com/support/options/) page, select *Get support*.
100
+
If your Azure issue isn't addressed in this article, visit the Azure forums on [the Microsoft Developer Network (MSDN) and Stack Overflow](https://azure.microsoft.com/support/forums/). You can post your issue in these forums, or post to [@AzureSupport on Twitter](https://twitter.com/AzureSupport). You also can submit an Azure support request. To submit a support request, on the [Azure support](https://azure.microsoft.com/support/options/) page, select *Get support*.
Unresponsive roles and roles that are cycling between **Initializing**, **Busy**, and **Stopping** states can be caused by missing DLLs or assemblies.
22
+
Unresponsive roles and roles that are cycling between **Initializing**, **Busy**, and **Stopping** states can be caused by missing dynamic link libraries (DLLs) or assemblies.
23
23
24
24
Symptoms of missing DLLs or assemblies can be:
25
25
26
26
* Your role instance is cycling through **Initializing**, **Busy**, and **Stopping** states.
27
-
* Your role instance has moved to **Ready** but if you navigate to your web application, the page does not appear.
27
+
* Your role instance moved to **Ready** but if you navigate to your web application, the page doesn't appear.
28
28
29
29
There are several recommended methods for investigating these issues.
30
30
31
31
## Diagnose missing DLL issues in a web role
32
-
When you navigate to a website that is deployed in a web role, and the browser displays a server error similar to the following, it may indicate that a DLL is missing.
32
+
When you navigate to a website deployed in a web role, and the browser displays a server error similar to the following, it may indicate a DLL is missing.
33
33
34
34

35
35
@@ -48,7 +48,7 @@ To view more complete errors without using Remote Desktop:
48
48
4. Save the file.
49
49
5. Repackage and redeploy the service.
50
50
51
-
Once the service is redeployed, you will see an error message with the name of the missing assembly or DLL.
51
+
Once the service redeploys, you see an error message with the name of the missing assembly or DLL.
52
52
53
53
## Diagnose issues by viewing the error remotely
54
54
You can use Remote Desktop to access the role and view more complete error information remotely. Use the following steps to view the errors by using Remote Desktop:
@@ -63,7 +63,7 @@ You can use Remote Desktop to access the role and view more complete error infor
63
63
9. Open Internet Explorer.
64
64
10. Type the address and the name of the web application. For example, `http://<IPV4 Address>/default.aspx`.
65
65
66
-
Navigating to the website will now return more explicit error messages:
66
+
Navigating to the website now returns more explicit error messages:
67
67
68
68
* Server Error in '/' Application.
69
69
* Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
@@ -81,10 +81,10 @@ For best results in using this method of diagnosis, you should use a computer or
81
81
1. Install the standalone version of the [Azure SDK](https://azure.microsoft.com/downloads/).
82
82
2. On the development machine, build the cloud service project.
83
83
3. In Windows Explorer, navigate to the bin\debug folder of the cloud service project.
84
-
4. Copy the .csx folder and .cscfg file to the computer that you are using to debug the issues.
84
+
4. Copy the .csx folder and .cscfg file to the computer you're using to debug the issues.
85
85
5. On the clean machine, open an Azure SDK Command Prompt window and type `csrun.exe /devstore:start`.
86
86
6. At the command prompt, type `run csrun <path to .csx folder> <path to .cscfg file> /launchBrowser`.
87
-
7. When the role starts, you will see detailed error information in Internet Explorer. You can also use standard Windows troubleshooting tools to further diagnose the problem.
87
+
7. When the role starts, you see detailed error information in Internet Explorer. You can also use standard Windows troubleshooting tools to further diagnose the problem.
88
88
89
89
## Diagnose issues by using IntelliTrace
90
90
For worker and web roles that use .NET Framework 4, you can use [IntelliTrace](/visualstudio/debugger/intellitrace), which is available in Microsoft Visual Studio Enterprise.
@@ -96,8 +96,8 @@ Follow these steps to deploy the service with IntelliTrace enabled:
96
96
3. Once the instance starts, open the **Server Explorer**.
97
97
4. Expand the **Azure\\Cloud Services** node and locate the deployment.
98
98
5. Expand the deployment until you see the role instances. Right-click on one of the instances.
99
-
6. Choose **View IntelliTrace logs**. The **IntelliTrace Summary** will open.
100
-
7. Locate the exceptions section of the summary. If there are exceptions, the section will be labeled **Exception Data**.
99
+
6. Choose **View IntelliTrace logs**. The **IntelliTrace Summary** opens.
100
+
7. Locate the exceptions section of the summary. If there are exceptions, the section is labeled **Exception Data**.
101
101
8. Expand the **Exception Data** and look for **System.IO.FileNotFoundException** errors similar to the following:
102
102
103
103

@@ -107,11 +107,11 @@ To address missing DLL and assembly errors, follow these steps:
107
107
108
108
1. Open the solution in Visual Studio.
109
109
2. In **Solution Explorer**, open the **References** folder.
110
-
3. Click the assembly identified in the error.
110
+
3. Select the assembly identified in the error.
111
111
4. In the **Properties** pane, locate **Copy Local property** and set the value to **True**.
112
112
5. Redeploy the cloud service.
113
113
114
-
Once you have verified that all errors have been corrected, you can deploy the service without checking the **Enable IntelliTrace for .NET 4 roles** check box.
114
+
Once you verify all errors are corrected, you can deploy the service without checking the **Enable IntelliTrace for .NET 4 roles** check box.
115
115
116
116
## Next steps
117
117
View more [troubleshooting articles](../index.yml?product=cloud-services&tag=top-support-issue) for cloud services.
0 commit comments