Blog Archives

Microsoft Technology

Add TDE encrypted database to an Availability Group

You will see below error when you try to add database to availability group if database is TDE encrypted.  This is also an issue when you restore TDE enabled database and then you try to add it back to availability group.

Posted in Microsoft Technology, SQLServer Tagged with:

How windows authentication works with IIS (Http.sys, Kerberos, NTLM)?

IIS sits on top of HTTP.sys, which is the kernel mode driver in the Windows network stack that receives HTTP requests. IIS picks up requests from http.sys, processes them, and calls http.sys to send the response. IIS introduced Kernel Mode

Posted in Microsoft Technology Tagged with:

WhiteSource integration with TeamCity

WhiteSource is a tool which automatically detects all open source components in your code and also alerts if any of those components has security vulnerabilities.  This tool can be used to enforce your team complies with your organization open source software policies. 

Posted in Microsoft Technology Tagged with:

Invoke-Command with -UseSSL

PowerShell Remoting uses Windows Remote Management (WinRM), which is the Microsoft implementation of the Web Services for Management (WS-Management) protocol, to allow users to run PowerShell commands on remote computers.   To run a command on one or more computers, use

Posted in Microsoft Technology Tagged with:

Useful PowerShell Commands

Below is the list of PowerShell commands that you will find very useful if you are using PowerShell scripting to automate various tasks and if you are in DevOps. Get the registry property values using PowerShell script, for example below

Posted in Microsoft Technology Tagged with:

How to grant permission to domain account to manage windows service

Domain account would need  some special permission to interact with windows service if web application is setup to run under domain or service account and web application needs to interact with windows service.  We usually give administrative rights to domain

Posted in Microsoft Technology Tagged with:

HttpCompileException error when browsing asp.net web application

If you setup a new asp.net web application on new application server, you may encounter following error when you browse your asp.net web application.  If you look at the error message, it says that it could not write to output

Posted in Microsoft Technology Tagged with:

Free tools to compare .net assemblies

There are various tools available to compare .net assemblies.  Most of them are paid version or requires lot of efforts to find code level differences between two assemblies or DLLs.  If you want to find out what has changed between

Posted in Microsoft Technology

Why is Facebook not reading OG tags?

I have all open graph tags rendered properly in my web page even though Facebook wasn’t reading those OG tags.  I used Facebook debugger tool to see what Facebook sees exactly when it scrapes my web page.  I got the message

Posted in Microsoft Technology Tagged with: ,

How to track website with multiple Google Analytics accounts

We have built the product that our clients can easily build website and feed content into it without requiring any technology background.  Our client is using Google Analytics to measure user interaction with website.  We also want to track  all

Posted in Microsoft Technology

Ads