Publish has encountered an error ERROR_FILE_IN_USE

C# Benjamin Perkins
C# Benjamin Perkins

I was making a deployment to an ASP.NET Core application from Visual Studio and got this error, see Figure 1. Figure 1, deployment asp.net core web deploy msdeploy from visual studio Read some of my other web deploy articles here: Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App ERROR_CONNECTION_TERMINATED msdeploy web deploy All of them are accessible…

0

How to read, unable to read appsettings.json values ASP.NET Core

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I wrote this article here “Database connection string when swapping between App Servers slots” and if you look at the last paragraph I mentioned a ‘gotcha’ when you have an application setting, “AppSetting” in your web.config file which has the same name as an application setting you have configured, via the portal of your Azure…

0

Azure Function 400 Bad Request

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I was writing these articles and received this error when calling my Azure Function: Create an Azure Key Vault secret Using Managed Service Identity MSI with and Azure App Service or an Azure Function How to connect to a database from an Azure Function I narrowed it down to the request I was making to…

0

How (I) would handle a timeout in Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I wrote this article about adding a host.json file to an Azure Function “How to add a HOST.JSON file to an Azure Function” and while I was breaking it, I saw a behavior which I didn’t expect. The behavior was that my code within the try…catch… block continued to execute after the timeout, the code…

0

How to add a HOST.JSON file to an Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I have written numerous articles about Azure Functions, view them here.  The fact is, the HOST.JSON file is created for you when the Azure Function App is created originally/initially and it does not need to be added.  I expected to see it when I expanded the View Files for the Function, see Figure 1, but…

0

ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I was deploying my ASP.NET Core 2.1 64-bit HelloWorld application and got this error, Figure 1. Figure 1, ASP.NET Core 2.1 502.5 x64 64 bit What I realized was that the 64 bit .NET Core runtime is not yet on the platform.  You can check that via KUDU/SCM and look for the D:\Program Files\dotnet directory…

0

Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App

Azure App Service
Azure App Service

I was writing this article where I was testing out how to backup my App Service from the Cloud Shell using BASH.  And I got this exception when I was publishing, Figure 1. Figure 1, ERROR_DESTINATION_NOT_REACHABLE publishing using MSDEPLOY Web Deploy from visual studio Kind of makes sense that trying to publish while the site…

0

Time sync, synchronization on an Azure App Service

Azure App Service
Azure App Service

An Azure App Service is PaaS and synchronizes the clocks based on the hosting platform.  As per this request, the drift may be up to 2 seconds and are synced once per week.  That request was made some years ago when an App Service was running on Windows Server 2012 and IIS 8.  With the…

0

Troubleshooting App Service Hybrid Connection Manager

Networking Benjamin Perkins
Networking Benjamin Perkins

I wrote this article “Enable logging for your Hybrid Connection Manager, troubleshooting”, but that was for the deprecated Hybrid Connection feature which uses Azure Biztalk.   You would see any ‘classic’ connections in the ‘Classic hybrid connections’ area on the Hybrid connections as seen in Figure 1. Figure 1, classic hybrid connections If you are running…

0

Required parameter ‘adminPassword’ is missing (null).

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

In case you have not read the article which led to this one, check it out here “How to use ARM templates for deployments”.  Once I resolved the previous 2 bumps: Deployment template validation failed: Circular dependency detected on resource osDisk.managedDisk.id’ is not allowed The final action was to provide an admin password for my…

0

osDisk.managedDisk.id’ is not allowed

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was writting this article here “How to use ARM templates for deployments” and received the result seen in Figure 1. Figure 1, failed deployment using templates azure arm When I clicked on the operations details i found the following details. I found on GitHub here “Azure managed disk: osDisk.managedDisk.id is not allowed” that doing…

0

Deployment template validation failed: Circular dependency detected on resource

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I was writing this article “How to use ARM templates for deployments” and received this error when I click the purchase button from within the portal. Here is a list of some actions to take if you get this exception “Solution 5 – circular dependency detected”. I did what the articles said and simply removed…

0

Web Server Logging, IIS logs, deployment slots and swaps

Azure App Service
Azure App Service

I wrote a number of articles related to this topic, have a look to get a better context in regards to this one. Download Azure App Services Web App log files from Visual Studio Enable logging on your Windows Azure Web App – App Service from Visual Studio Using LogParser to analyze the EVENTLOG.XML, Azure…

0

Memory consumption issue with WinDbg, address summary

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

I must confess being pretty good at analyzing memory dumps from a performance or an exception perspective.  I have written a few articles and labs about those types of problems: Lab 19: Debugging a high CPU hang W3WP process using WinDbg Lab 20: Debugging a low CPU hang W3WP process using WinDbg Create a memory…

0

An error occurred

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions…

0