Troubleshooting Azure App Service Apps Using Web Server Logs

Oftentimes, the best way to start troubleshooting a web application is to check the web server logs. Web servers log each request that they process, and by checking the server logs, you can often find out details about why things went wrong. Particularly, you want to pay attention to a couple of different fields in…

0

Why did my Function App stop working?

We had a customer the other day whose Function App stopped working. He was using a blob trigger and it worked fine for a while, but at some point during the overnight hours, it just stopped working. Naturally, he assumed something in Azure was broken and he opened a support case. As it turns out,…

0

Protecting Elmah.axd

Elamh is a common tool to debug ASP.NET application. You can use Elmah in Azure Website, here is a nice blog But by default Elamh.axd is available to all users. Here are quick steps to secure it using forms authentication. Protecting Elmah.axd using ASP.NET Authentication Add these lines at the end of web.config file  …

0

App Service Plan

Here are different components within Azure Website’s App Service Plan

0

Move Azure Website from one AppServicePlan to another

Here are the steps to move Azure Websites from one AppServicePlan to another.   write-host “trying to load azure dlls” Import-module azure   write-host “trying to log into Azure” #Select-AzureSubscription -Default “Microsoft Azure Internal Consumption” #Add-AzureAccount #Login-AzureRmAccount     $AzureSubscription = “<GUID>” $ResourceGroupName = “InternalConsumptionResourceGroup” $WebsiteName = “nptesting” $NewAppServicePlanName = “My2ndAppServucePlan” # $NewAppServicePlanName = “InternalConsumptionAppServicePlan”…

0

Supporting ASP.NET 5, Core RC1, RC2 on Azure App Service

Is ASP.NET 5, Core RC1, RC2 supported on Azure App Service? No, ASP.NET 5, Core RC1 or RC2 is no longer supported on Azure App Service. The only supported ASP.NET Core stack is RTM on Azure App Service. Check the newly announced RTM version at https://blogs.msdn.microsoft.com/appserviceteam/2016/06/27/azure-app-service-and-asp-net-core/ Here is the list of .NET supported stacks on Azure App…


Hybrid Connection error with SQL Server: System.OverflowException: Arithmetic operation resulted in an overflow

Problem If you are trying to use Azure Hybrid Connections to access SQL Server then be advised that an update on May 10, 2016 to .NET may cause connections to fail.  When it fails you will see errors that look like this Exception: System.Data.Entity.Core.EntityException: The underlying provider failed on Open. —> System.OverflowException: Arithmetic operation resulted…

0

Most frequent issues when deploying (creating) a new Azure App Service Environment (ASE).

When creating a new Azure App Service Environment (ASE) there are certain scenarios that will make the deployment fail after about 5 hours with an error similar to the following in the Audit logs: Resource ID: /subscriptions/{Subscription ID}/resourceGroups/Default-Networking/providers/Microsoft.Web/hostingEnvironments/{ASE name} Error: {“error”:{“code”:”ResourceDeploymentFailure”,”message”:”The resource provision operation did not complete within the allowed timeout period.”}} Note: Audit logs…


Debug Node.JS Azure Mobile Apps with Node Inspector

You can debug interactively your Node.JS apps on Azure using the built-in Node Inspector.  I will walk you through how to set up Node Inspector and debug an Azure Mobile App. Review You can debug using the Monaco interface without doing any special setup, however it is not interactive debugging with variable inspection etc.  To…

0

Azure Web App–Traffic Routing Error: Failed to update web app settings

  This is a quick publish blog to address a particular issue (soon to be fixed) when trying to route traffic to a slot for an Azure Web App.  I will bring down this blog once the issue is fixed. When setting up Traffic Routing for a slot you may get this error:  Failed to…

0