WebPICmdLine.exe 无法在 Windows Azure 上运行
我正在开发 Windows Azure SDK 1.4 版本。我编写了一个具有 startp 脚本的示例应用程序。脚本如下:
"%~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
如果应用程序与此脚本一起部署在 Azure 上,则 webrole 会进入繁忙和中止状态。如果我删除此脚本并部署应用程序,它可以正常工作,没有任何错误。
有人遇到过这种问题或者有人对这个问题有想法吗?或者 有人知道我如何查看命令中提到的日志文件 /log:webdeploy.txt
以及在 Windows Azure 上部署应用程序后该文件的位置吗?
欢迎任何建议。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你好
得到了答案:
请参阅链接
http://social.msdn.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/49c6c7a3-313b-47bc-bda2-2c94e617bd80
要工作命令,我们需要添加参数
/接受
现在,如果我运行下面提到的命令,它工作正常。
Hi
got the answer:
Please refer link
http://social.msdn.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/49c6c7a3-313b-47bc-bda2-2c94e617bd80
To work command, we need to add paramerer
/accepteula
Now, if I run command as mentioned below, its working fine.