1

Resolved

1.6 Azure with startup tasks not running in local emulator

description

please follow these steps if you want to make latest version with startup task run in local azure emulator.

http://msdn.microsoft.com/en-us/library/windowsazure/hh974417.aspx

otherwise local emulator keeps trying to call
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00

which fails and indicates azure instance as busy.

comments

sebastienros wrote Oct 15, 2012 at 6:37 PM

Fixed in changeset dd33b2a90e35

TheMonarch wrote Oct 19, 2012 at 7:35 PM

Was this repro'ed? I just looked at the COnfigureIIS.cmd, and it only sets the appPool timeout if you're in Emulator, which is the opposite of what the work item wanted.

IF "%ComputeEmulatorRunning%" == "true" (
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00
)

Maybe fotisgpap was getting an error due to something else? I changed it to this (which is what I think it should be according to the workitem, but on my machine it doesn't matter either way), and it still works under the azure emulator:

IF "%ComputeEmulatorRunning%" == "false" (
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00
)

TheMonarch wrote Oct 19, 2012 at 7:50 PM

Took the %ComputeEmulatorRunning% check out completely, and the appcmd set config... part still works under Emulator. I think we should take this condition out, or leave it empty in case it's needed in the future. Move the appCmd part to run either all the time or when ComputeEmulatorRunning == "false".

sebastienros wrote Oct 22, 2012 at 11:34 PM

Fixed in changeset 10314f66f2e7

sfmskywalker wrote Mar 28 at 12:28 AM

Fixed in changeset 293288928ccc1bb72d9c8aadefb8d62fb00f5175

sfmskywalker wrote Mar 28 at 12:28 AM

Fixed in changeset b44cffa440b9f2d8bb1c21ad3210bb31f3f3472d