Tag Archives: azure

How to enable tracing in ASP.NET Web API using Application Insights

Excert Continue reading

Posted in Programming | Tagged , , | Leave a comment

Troubleshooting site-to-site connection in Azure: error 797, 663.

When I created a site-to-site connection in Azure Networks (classic) and tried to connect to the gateway from my on-premise VPN server running on virtual Windows Server 2012 R2 for the first time I found the following error in Application … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to start using recently uploaded Azure disk

After you uploaded a vhd and before you can start really using it you must mark it as a data disk or as an OS disk using the following command: Add-AzureDisk -DiskName ‘myvhd.vhd’ -MediaLocation http://example.blob.core.windows.net/container/myvhd.vhd -OS Windows

Posted in Infrastructure | Tagged , | Leave a comment

How to select Azure subscription if you have more than one using PowerShell

If you have more than one Azure subscription in your account and try to upload a vhd using the instruction: Get-AzurePublishSettingsFile Import-AzurePublishSettingsFile d:credentials.publishsettings Add-AzureVhd -LocalFilePath d:my.vhd -Destination http://example.com/blob/container You may get an error saying that selected account doesn’t have given … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment