Restoring database via SSMS via GUI produces some time lag in doing that. If you want to do the same restore stuff via command it can be an instant process. You can use the following query to restore ...
How often you have to kill processes of a database and run "sp_who2" command and then "kill <spid>" to kill each processes? This is a tedious task. I have written a Stored pr...
Sometimes it is useful to display IPv4 address in binary to compare it with subnet mask
ASP.NET FormsAuthentication Login cookie not working in Internet Explorer 10
Using devenv.exe /SafeMode allows you to run any version of visual studio (devenv.exe) in SafeMode with 3rd party plugins disabled.
We shifted one of our sites to new server today. While accessing the new site (which was running on new IP now) I started getting 404 error. I did the ping for that site and it was still whoing the ol...
Step-by-step Guide on using Github with Visual Studio Source control is an integral part of software
Today, I was trying to add line breaks in one of the anchors on my page, I tried various solutions like adding "<br/>" or "\n" to my title text but none of these solutions wa...
To detect the http or https scheme in ASP.NET in server side code we can use Uri.Scheme property. Below is the sample code to do the same: string url = "https://www.yourwebsite.com/"; Uri ur...
We were getting the following error while trying to access a url from server side code. It was working without any issue locally but after deploying it to remote server we started getting the error: &...