I am working on Windows Azure SDK 1.4 version. I have written an sample application having a startp script. Script is as below:
"%~dp0\WebPICmdLine.exe" /Products: WDeploy /xml:https://www.microsoft.com/web/webpi/2.0/RTM/WebProductList.xml /log:webdeploy.txt net stop wmsvc net start wmsvc
If application is deployed on Azure along with this script, webrole goes in busy and aborted state. If I remove this script and deploy an application, it works fine, without any error.
Is anyone faced this kind of issue or anyone has an idea about this issue? OR anyone know how I can see log file
/log:webdeploy.txtmentioned in command and where this file wil be located after deploying an application on Windows Azure?
Anykind of suggestion are welcome.
I've written a 4 part series on setting up RDP into Windows Azure...
Cory Fowler Windows Azure MVP http://blog.syntaxc4.net
by adding /accepteula and setting script as "background" it is working fine. But now I am facing another issue. When I am publishing application from VS2010, it is giving an error:
Web deployment task failed.(Remote agent (URL http://azure-fast-deploy.cloudapp.net//MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer.) The requested resource does not exist, or the requested URL is incorrect. Error details: Remote agent (URL http://azure-fast-deploy.cloudapp.net//MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer. An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected. The remote server returned an error: (404) Not Found.
Do you have nay idea what might be reason for this?