1
votes

I have created web application and one agent (EXE) with it fetch performance counter using WMI Query (compatible with 32 bit) so i have created one Enable32BitAppPool1.cmd file and add it in startup task, content of that file as per below

%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true

and set property of that file "Copy Always" as per following this link.

Now when i am going to upload that package to Azure then it will be Aborted or in Buzy mode Can anyone please tell me the reason of this?

2

2 Answers

1
votes

It seems your cmd file not working in startup task. Two possible solution 1> Create .bat file and try in as a start up task for your webrole. 2> other solution is that, try to run the file (.cmd) using system.Diagostic.process.start(...) from some other exe file and set that exe file as a startup task.

0
votes

There is absolutely no way to know, based on what you've posted, what's going on.

I'd enable remote desktop on that instance and check out the event logs to try and get a handle on what's happening.

If you can't remote desktop in because your startup task is killing it - then disable the startup task, remote desktop in, and try to run what you think the startup task is doing - but manually - so you can see what's actually going on.