Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web deployment task failed. The maximum number of connections for this site has been exceeded. Azure

I am get error below on publish to azure using web deploy profile i downloaded from azure website

Web deployment task failed. (The maximum number of connections for this site has been exceeded. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEEDED_MAX_SITE_CONNECTIONS.)

I am using visual studio 2012

like image 695
Juvenalis Gitau Avatar asked Oct 07 '13 14:10

Juvenalis Gitau


3 Answers

I was having the same issue but after restarting management service it worked for me.

Here are the steps:

  1. Go to your windows server where IIS Server configured.
  2. Control Panel => System and Security => Administrative Tools => Services.
  3. In the Services. Restart Web Deployment Agent Service and Web Management Service

Give a try now to web deploy.

like image 65
Mukesh Salaria Avatar answered Nov 19 '22 14:11

Mukesh Salaria


This may occur if you are connecting to the internet via a 3G dongle or card.

I have the same error and earlier in my warnings was "Retrying the sync because a socket error (10054) occurred" I'm stuck on a 3G connection today and getting this for the 1st time so presume these are related.

like image 1
Andiih Avatar answered Nov 19 '22 15:11

Andiih


I know that it's been a long time ago, but I was struggling with the same issue lately. For me, it helped to restart the Web Management Service. It might hang in Stopping status - if so, you can forcibly kill it:

First, open cmd with elevated privileges, and use sc queryex wmsvc command to find out the PID of the service.

Then, use taskkill /PID [the pid] /F command to kill the process. After that, you just start it again with services.msc

Hope it'll help :)

like image 1
nocodename Avatar answered Nov 19 '22 15:11

nocodename