Running WebRole on Azure Emulator using csrun fails but succeeds from VS

0

I'm trying to run a WebRole from the command line but it fails and ends up in a failure loop:

[fabric] Role Instance: deployment10(1).MyService.MyWebRole.0
[fabric] Role state Busy
[fabric] Role state Suspended
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Busy
[fabric] Role state Aborted
[fabric] Role state Suspended
[fabric] Role state Busy

I'm using VS2019 and Azure SDK 2.9.

The command line I'm using is (with E:\MY_SERVICE_REPO\Azure\MyService as CWD):

& 'C:\Program Files\Microsoft SDKs\Azure\Emulator\csrun.exe'  --% /run:MyWebRole.csx;ServiceConfiguration.Local.cscfg /useiisexpress /launchbrowser

Tried both IIS Express and Full, same for Compute Emulator.

When looking at the startup logs (dftmp\EmulatorRuntimeLogs\EmulatorRuntime.log) the difference that pops is:

ERROR] Failed to create FSRM quota manager instance.
ERROR] <- RuntimeQueryDirectoryQuota=0x80040154
ERROR] <- RuntimeRelaxRoleResourceQuotas=0x80040154
ERROR] <- RuntimeRole::RecoverFromResourceQuotaExhausted(0x000000001C792FB0) =0x80040154
ERROR] <- RuntimeRole::Recover(0x000000001C792FB0) =0x80040154
IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateStopped to RoleStateAborted.

Here is a full circle as it appears in the log:

 2019/10/30, 22:50:35.286, INFO ] Initializing agent runtime. isDesktop: TRUE allowMultipleRoles:TRUE rootPath: C:\Users\USER_NAME\AppData\Local\dftmp\
 2019/10/30, 22:50:35.286, INFO ] Agent: Starting.
 2019/10/30, 22:50:35.288, INFO ] Agent: Initialized.
 2019/10/30, 22:50:35.292, INFO ] Machine Configuration:
 2019/10/30, 22:50:35.293, INFO ] Agent flags value = 0x980
 2019/10/30, 22:50:35.310, INFO ] Deleting sublayer 7ad92418-6582-4371-96f1-703ce4f99418
 2019/10/30, 22:50:35.310, INFO ] Agent: Initializing disks.
 2019/10/30, 22:50:35.311, INFO ] ACLing root folder C:\Users\USER_NAME\AppData\Local\dftmp\
 2019/10/30, 22:50:35.313, INFO ] Finished ACLing root folder C:\Users\USER_NAME\AppData\Local\dftmp\
 2019/10/30, 22:50:35.313, INFO ] Root folder ACL thread finished executing.
 2019/10/30, 22:50:35.314, INFO ] Agent: Disks initialized.
 2019/10/30, 22:50:35.314, INFO ] Agent: Initializing runtime.
 2019/10/30, 22:50:35.314, INFO ] Setting all Sids to Built-in administrators...
 2019/10/30, 22:50:35.318, INFO ] Initializing Runtime Http Monitor...   
 2019/10/30, 22:50:35.319, INFO ] Finished initializing Runtime Http Monitor.

 2019/10/30, 22:50:35.319, WARN ] Container 00000000-0000-0000-0000-000000000000 not found.
 2019/10/30, 22:50:35.319, INFO ] >>>>_Context_Start: {60D6F46E-3BED-4B51-A533-01693EDA2893}        Context={{ RuntimeHttpMonitor }}
 2019/10/30, 22:50:35.321, WARN ] <- RuntimeFindContainer=0x80070490
 2019/10/30, 22:50:35.322, INFO ] Agent: Runtime initialized.
 2019/10/30, 22:50:35.408, INFO ] Agent: Started.
 2019/10/30, 22:50:35.408, INFO ] >>>>_Context_Start: {72DB438F-BFFE-4289-B13C-63475007A1E4}        Context={{ AgentCreateContainer:    ContainerId=EmulatorContainer}
 2019/10/30, 22:50:35.408, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentCreateContainer:    ContainerId=EmulatorContainer}
 2019/10/30, 22:50:35.409, INFO ] >>>>_Context_Start: {28F83A63-3712-48B3-AED2-542E0F0FEE80}        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.409, INFO ] >>>
AgentCreateContainerWorker() called with
    Id=EmulatorContainer
        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.409, INFO ] Creating a container of type 1        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.409, WARN ] Container EmulatorContainer not found.        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.410, WARN ] <- RuntimeFindContainer=0x80070490        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.410, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 2019/10/30, 22:50:35.410, INFO ] AgentpCreateContainerWorker Returning
    00000000.
<<<     Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 22:50:35.410, INFO ] <<<<_Context_Ends: {28F83A63-3712-48B3-AED2-542E0F0FEE80} Return value = 00000000.        Context={{ AgentpCreateContainerWorker:     Id=EmulatorContainer }}
 22:50:35.410, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015
 22:50:35.410, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:50:35.410, INFO ] >>>>_Context_Start: {06904514-EDA9-42CF-946D-3A5F12056FBF}        Context={{ StartContainer:  ContainerId=EmulatorContainer }}
 22:50:35.410, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ StartContainer:  ContainerId=EmulatorContainer }}
 22:50:35.410, INFO ] >>>>_Context_Start: {0C8C9611-9EDD-4B45-B81F-AF69CC690EB2}        Context={{ AgentpStartContainerWorker:  Id=EmulatorContainer }}
 22:50:35.411, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentpStartContainerWorker:  Id=EmulatorContainer }}
 22:50:35.411, INFO ] <<<<_Context_Ends: {0C8C9611-9EDD-4B45-B81F-AF69CC690EB2} Return value = 00000000.        Context={{ AgentpStartContainerWorker:  Id=EmulatorContainer }}
 22:50:35.411, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015
 22:50:35.411, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:53:11.687, INFO ] >>>>_Context_Start: {8E2FEB29-CF1F-48D3-81F0-C39426F19992}        Context={{ SendConfig:  FileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml }}
 22:53:11.695, INFO ] <<<<_Context_Ends: {8E2FEB29-CF1F-48D3-81F0-C39426F19992} Return value = 00000000.        Context={{ SendConfig:  FileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml }}
 22:53:11.696, INFO ] >>>>_Context_Start: {C5A2F6D0-F347-4BBC-8A81-671DD293600A}        Context={{ CreateRoleEx:    ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 Config=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml }}
 22:53:11.696, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ CreateRoleEx:    ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 Config=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml }}
 22:53:11.696, INFO ] >>>>_Context_Start: {57F90BD6-F34E-4FAA-A591-DA6E851C881D}        Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.697, INFO ] Role deployment29(0).MyService.MyWebRole_IN_0 not found.      Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.697, INFO ] <- RuntimeContainer::FindRoleUnsafe=0x80070490        Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.701, INFO ] Creating new role object with id deployment29(0).MyService.MyWebRole_IN_0 under container EmulatorContainer       Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.702, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateInitialized to RoleStateCreated.      Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.703, INFO ] <<<<_Context_Ends: {57F90BD6-F34E-4FAA-A591-DA6E851C881D} Return value = 00000000.        Context={{ AgentpCreateRoleWorkerEx:    ConfigFileName=deployment29(0).0.MyService.MyWebRole_IN_0.1.xml     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:11.703, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015
 22:53:11.703, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:53:11.728, INFO ] >>>>_Context_Start: {812E82E1-4BCD-4002-8E43-C99A05518E26}        Context={{ StartRoleEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 PluginConfigFilePath=No Plugin config. }}
 22:53:11.728, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ StartRoleEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 PluginConfigFilePath=No Plugin config. }}
 22:53:11.728, INFO ] >>>>_Context_Start: {3A5DE223-CF8D-438E-B280-2F5C1E910EAC}        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.728, INFO ] Starting role: deployment29(0).MyService.MyWebRole_IN_0. CertPassed: False        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.752, INFO ] Comparing normalizedHash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3' and hash='sha1:FDD7564B980FC4F6BE6F0AF64D8BA882B8C6F309'     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.752, INFO ] Comparing normalizedHash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3' and hash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3'     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.761, INFO ] RuntimeEnvironment is 1       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.763, INFO ] Runtime config root path =  C:\Users\USER_NAME\AppData\Local\dftmp\Config\.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.763, INFO ] Runtime resources root path =  C:\Users\USER_NAME\AppData\Local\dftmp\Resources\aae76209-6417-47df-b774-f2bca8b7b07f.     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.763, INFO ] Runtime log path =  C:\Users\USER_NAME\AppData\Local\dftmp\Resources\aae76209-6417-47df-b774-f2bca8b7b07f.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.763, INFO ] Runtime Server Named Pipe Name =  \\.\pipe\RdRuntimeServer.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.764, INFO ] Runtime Server Named Pipe Timeout Time =  30.     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.764, INFO ] Creating role process with command line E:\MY_SERVICE_REPO\Azure\MyService\MyWebRole.csx\roles\MyWebRole\base\x64\WaHostBootstrapper.exe base\x64\WaIISHost.exe  and role root E:\MY_SERVICE_REPO\Azure\MyService\MyWebRole.csx\roles\MyWebRole\      Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.807, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateCreated to RoleStateSuspended.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.807, INFO ] Role has been succesfully started. RoleID = deployment29(0).MyService.MyWebRole_IN_0, PID = 23768, TID = 34772        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.808, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.808, INFO ] <<<<_Context_Ends: {3A5DE223-CF8D-438E-B280-2F5C1E910EAC} Return value = 00000000.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:11.808, INFO ] Role process with id 23768 is successfully resumed
 22:53:11.808, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015
 22:53:11.808, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateSuspended to RoleStateBusy.
 22:53:11.808, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:53:12.367, FATAL] Role process exited with exit code of -2147024894
 22:53:12.372, INFO ] Stopping role: deployment29(0).MyService.MyWebRole_IN_0. Notify: False  Recycle: False  StopTimeout: 30
 22:53:12.372, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateBusy to RoleStateStopping.
 22:53:12.372, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateStopping to RoleStateStopped.
 22:53:12.372, ERROR] <- WapGetEnvironmentVariable=0x800700cb
 22:53:12.372, WARN ] (Ignoring) Reading environment variable CleanupFirewallOnRoleRestart failed with HR: 800700cb
 22:53:12.372, INFO ] The value of cleanupFirewallOnRoleRestart is set to True
 22:53:12.373, WARN ] Attempting to recover role deployment29(0).MyService.MyWebRole_IN_0.
 22:53:12.374, ERROR] Failed to create FSRM quota manager instance.
 22:53:12.374, ERROR] <- RuntimeQueryDirectoryQuota=0x80040154
 22:53:12.374, ERROR] <- RuntimeRelaxRoleResourceQuotas=0x80040154
 22:53:12.374, ERROR] <- RuntimeRole::RecoverFromResourceQuotaExhausted(0x000000001C792FB0) =0x80040154
 22:53:12.374, ERROR] <- RuntimeRole::Recover(0x000000001C792FB0) =0x80040154
 22:53:12.374, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateStopped to RoleStateAborted.
 22:53:12.920, INFO ] >>>>_Context_Start: {819C63E0-E10B-4024-ABE1-3267EE1C9C7C}        Context={{ StopRoleEx:  instanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.920, INFO ] >>>>_Context_Start: {22354F71-3E65-4984-B0CF-69D325D1F208}        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.920, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.920, INFO ] Stopping role: deployment29(0).MyService.MyWebRole_IN_0. Notify: True  Recycle: False  StopTimeout: 5     Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, ERROR] <- WapGetEnvironmentVariable=0x800700cb       Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, WARN ] (Ignoring) Reading environment variable CleanupFirewallOnRoleRestart failed with HR: 800700cb     Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, INFO ] The value of cleanupFirewallOnRoleRestart is set to True      Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.921, INFO ] <<<<_Context_Ends: {22354F71-3E65-4984-B0CF-69D325D1F208} Return value = 00000000.        Context={{ AgentpStopRoleWorkerEx:  ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 }}
 22:53:12.922, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:53:12.922, INFO ] >>>>_Context_Start: {27D67036-7F42-4F05-9E06-0F9C73226D68}        Context={{ StartRoleEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 PluginConfigFilePath=No Plugin config. }}
 22:53:12.922, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ StartRoleEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0 PluginConfigFilePath=No Plugin config. }}
 22:53:12.922, INFO ] >>>>_Context_Start: {2EB1633B-B6D6-49A1-8B04-F9D9A5A88CC6}        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.922, INFO ] Starting role: deployment29(0).MyService.MyWebRole_IN_0. CertPassed: False        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.922, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.922, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.923, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.923, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.923, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.923, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.924, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.924, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.925, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.925, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.925, WARN ] Skipping impersonation because passed token is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.925, WARN ] Skipping SetNamedSecurityInfo because passed SecurityAttributes is NULL - which can be the case if run in desktop mode.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.927, INFO ] Comparing normalizedHash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3' and hash='sha1:FDD7564B980FC4F6BE6F0AF64D8BA882B8C6F309'     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.927, INFO ] Comparing normalizedHash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3' and hash='sha1:F8ACE24A36F93B006BFAF495F6C14FB827AC61A3'     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.932, INFO ] RuntimeEnvironment is 1       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.935, INFO ] Runtime config root path =  C:\Users\USER_NAME\AppData\Local\dftmp\Config\.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.935, INFO ] Runtime resources root path =  C:\Users\USER_NAME\AppData\Local\dftmp\Resources\aae76209-6417-47df-b774-f2bca8b7b07f.     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.935, INFO ] Runtime log path =  C:\Users\USER_NAME\AppData\Local\dftmp\Resources\aae76209-6417-47df-b774-f2bca8b7b07f.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.935, INFO ] Runtime Server Named Pipe Name =  \\.\pipe\RdRuntimeServer.       Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.936, INFO ] Runtime Server Named Pipe Timeout Time =  30.     Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.936, INFO ] Creating role process with command line E:\MY_SERVICE_REPO\Azure\MyService\MyWebRole.csx\roles\MyWebRole\base\x64\WaHostBootstrapper.exe base\x64\WaIISHost.exe  and role root E:\MY_SERVICE_REPO\Azure\MyService\MyWebRole.csx\roles\MyWebRole\      Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.943, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateAborted to RoleStateSuspended.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.943, INFO ] Role has been succesfully started. RoleID = deployment29(0).MyService.MyWebRole_IN_0, PID = 40280, TID = 40760        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.943, WARN ] <- AgentMonitoringObject::EventStart(0x00007FFE5A2775A0) =0x80070015      Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.943, INFO ] <<<<_Context_Ends: {2EB1633B-B6D6-49A1-8B04-F9D9A5A88CC6} Return value = 00000000.        Context={{ AgentpStartRoleWorkerEx:     ContainerId=EmulatorContainer   RoleInstanceId=deployment29(0).MyService.MyWebRole_IN_0     PluginConfigFilePath=No Plugin config. }}
 22:53:12.943, WARN ] <- AgentMonitoringObject::EventEnd(0x00007FFE5A2775A0) =0x80070015
 22:53:12.943, INFO ] Role process with id 40280 is successfully resumed
 22:53:12.944, INFO ] <<<<_Context_Ends: {2E47BE2F-9CAF-4299-BE43-9693DB187C81} Return value = 00000000. 
 22:53:12.944, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateSuspended to RoleStateBusy.
 22:53:13.412, FATAL] Role process exited with exit code of -2147024894
 22:53:13.417, INFO ] Stopping role: deployment29(0).MyService.MyWebRole_IN_0. Notify: False  Recycle: False  StopTimeout: 30
 22:53:13.417, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateBusy to RoleStateStopping.
 22:53:13.417, IMPRT] State of deployment29(0).MyService.MyWebRole_IN_0 changed from RoleStateStopping to RoleStateStopped.
 22:53:13.417, ERROR] <- WapGetEnvironmentVariable=0x800700cb
 22:53:13.417, WARN ] (Ignoring) Reading environment variable CleanupFirewallOnRoleRestart failed with HR: 800700cb
 22:53:13.418, INFO ] The value of cleanupFirewallOnRoleRestart is set to True
 22:53:13.418, WARN ] Attempting to recover role deployment29(0).MyService.MyWebRole_IN_0.
 22:53:13.419, ERROR] Failed to create FSRM quota manager instance.
 22:53:13.419, ERROR] <- RuntimeQueryDirectoryQuota=0x80040154
 22:53:13.419, ERROR] <- RuntimeRelaxRoleResourceQuotas=0x80040154
 22:53:13.420, ERROR] <- RuntimeRole::RecoverFromResourceQuotaExhausted(0x000000001C792FB0) =0x80040154
 22:53:13.420, ERROR] <- RuntimeRole::Recover(0x000000001C792FB0) =0x80040154
c#
azure
azure-service-fabric
azure-web-roles
azure-storage-emulator
asked on Stack Overflow Oct 31, 2019 by Scis • edited Oct 31, 2019 by Scis

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0