Persistent and Non-persistent cookies in ASP.NET
While running my application via Xcode to my iPhone I noticed I was getting the following error in the log: no valid “aps-environment” entitlement string found for application" UserInfo={NSLocali...
Post-Build task failing in VS 2015. C:\Program' is not recognized as an internal or external command.
Here is the solution to fix it. In Visual Studio go to "Tools" >> "Options". Select "Projects and Solutions" option. Select "Build and Run". On right hand...
Disable intellisense in SQL Server 2012
Web.config rule for a site running behind load balancer so as to redirect from http to https
If you are facing issues while using native F10, F11 keys while debugging Visual Studio in VMware Fusion you need to switch the functionality of your Mac’s function keys so as retain the original func...
In this blog I will show how to check Domain and Forest Functional Level in Windows Server 2012. Follow the following steps to do that: Enter domain.msc via Run command. Next window will be of "A...
Adprep.exe is a command-line tool that is available on the on the Windows Server 2008 R2 installation disk in the \support\adprep folder
In this blog I will show how to remove a Domain Controller from a Domain in Windows Server 2008 R2. Follow the following steps to do that: Enter dcpromo via Run command. Click Next on Welcome Screen. ...
In this blog I will show how to uninstall AD FS 2.0 in Windows server 2008 R2. Follow the following steps to do that: Enter appwiz.cpl via Run command. Click "View Installed Updates". Select...
Open Command Prompt Window in your computer with "Run as Admin". On the Command Prompt window, type: wmic bios get serialnumber. Hit enter. Service Tag would be displayed.
While working with .SVC files in my applications I was getting the 404 error: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily un...
Below is the script to do the same: DECLARE @table_name NVARCHAR(256) DECLARE @col_name NVARCHAR(256) DECLARE @Command NVARCHAR(1000) SET @table_name = N'YourTableName' SET @col_name = N'Y...
Below is the simple script to get country from IP: $.get("http://ipinfo.io/"+ip, function (response) { //response.country); //response.region); }, "jsonp"); Here is how you can use...
While working with a json file today I got the following error from server: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the pag...
I had to redirect one particular page to different destination for an application. I wanted to do this via web.config only. This is what I did: <location path="default.aspx"> &...
If you want to remove invalid chars "* . " / \ [ ] : ; | = ," from file name below is the code which can help you Sample code: using System; using System.IO; using System.Text.RegularEx...
While running "node make server" over pdf.js source I was getting the following error: assert not GIT_CLONE_CHECK or os.path.isfile('../src/pdf.js') and os.path.is dir('../.git...
While running the "node mke server" command in GitBash today I was getting the following error: 'python2.7' is not recognized as an internal or external command, operable program or ...
By default jQuery date picker set the zindex to 1 while opening the date picker. This can cause the issue if you have a fixed header. The picker can appear beneath the header like this: The fix for th...
If you want to apply 301 (Redirect permanent) for all http requests to https you need to add the following section in your system.webserver section of your web.config file: <rewrite> &am...
If you want to remove Cut, Copy and Paste menu it the Tinymce editor the following blog will help you It can be done via adding the following line via tinymce init method like this: removed_menuitems:...
I installed Windows XP SP3 image on Virtual Box VM in my machine. Everything worked well in the installation but I was not able to connect to internet. In order to fix that I selected the following op...
We recently started using database project in our application. To get the updated stored procedures from database project to destination database we were using "Build" option. The issue with...