Posts

Showing posts from January, 2015

Weird null reference error on role start after upgrade to Azure SDK 2.5

It was weird, got fixed after I commented the below code: //DiagnosticMonitorConfiguration config = DiagnosticMonitor.GetDefaultInitialConfiguration(); //config.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(5); //config.Logs.ScheduledTransferLogLevelFilter = Microsoft.WindowsAzure.Diagnostics.LogLevel.Warning; //DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", config);

Hyper-V VM backup fails with VSS Error in Windows 2012 R2 Server

It would keep erroring out with some flush error saying that disk activity is too high and operation timed out. To fix this, set the registry settings as mentioned in the below article: https://social.technet.microsoft.com/Forums/windowsserver/en-US/e00123c7-44a3-4f53-a726-8abca7e4542b/vss-error-server-2012-datacenter-application-12289-12297-12340-8194-system-9?forum=windowsbackup At the registery (Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSer\Services\VSS\VssAccessControl there a 2 values like this: 1. REG_DWORD --> DOMAIN\USERFULLPERMISSIONS --> set to 3 (0x0000003) 2. REG_DWORD --> NT Authority\NetworkService --> set to 3 (0x0000003)