Friday, 17 August 2018

409 Conflict: Could not write to local resource 'D:\home\site\wwwroot\ due to error'Could not find file 'D:\home\site\wwwroot\

409 Conflict: Could not write to local resource 'D:\home\site\wwwroot\ due to error'Could not find file 'D:\home\site\wwwroot\


ERRORS:

·     409 Conflict: Could not write to local resources:\home\site\wwwroot\abc.txt' due to error 'Invalid access to memory location. '

·      409 Conflict: Cannot delete directory. It is either not empty or access is not allowed.


Reason for all these errors is.
            
APP SETTING KEY

WEBSITE_RUN_FROM_ZIP =  1 

This key persisted during slot swap operation. 

Please check the article for more details: 


Run-From-Zip is still in preview and hence removing the key bring back everything to work as expected. 




Other useful references,

Issue: Azure Functions: The Consumption pricing tier is not allowed in this resource group


Issue: Azure function is throwing one of the following exception
·       Unable to retrieve Functions Keys
·       We are not able to retrieve the keys for function
·       The function runtime is unable to start.
·       Function host is not running.
·       Internal Server error.
·       Service Unavailable.


Issue: Disable Azure functions



Azure Functions | Microsoft.Azure.WebJobs.Script.WebHost: Repository has more than 10 non-decryptable secrets backups

Microsoft.Azure.WebJobs.Script.WebHost: Repository has more than 10 non-decryptable secrets backups Issue : ·        The function runtime is...