none
WebPICmdLine.exe not working on Windows Azure

    Question

  • Hi All,

    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.txt mentioned in command and where this file wil be located after deploying an application on Windows Azure?

    Anykind of suggestion are welcome.

    Thanks,

    TA

    Thursday, April 14, 2011 5:01 AM

Answers

  • Don't you need a /accepteula in there?

    A handy trick is to make your startup task a "background" startup task, and then use remote desktop to pop onto the box and see what's going on.

    • Marked as answer by TAdhav Thursday, April 14, 2011 8:52 AM
    Thursday, April 14, 2011 5:19 AM

All replies