Loading ...

  • Solve virtual directory problem in simple steps
    Vivek .  · 8 days ago  · 0  · 33
    asp.net IIS visual-studio
    0
    /5
    Avg: 0/5: (0 votes)
  • GitExtensions menu not loading in Visual Studio on VMWare Windows on MacOSX
    Vivek Thakur  · 6/26/2014  · 0  · 419
    0
    /5
    Avg: 0/5: (0 votes)
  • 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"> <system.webServer> <httpRedirect enabled="true" destination="aboutus" httpResponseStatus="Permanent"
    Raghav Khunger  · 3/24/2014  · 0  · 1245
    asp.net web.config 301-redirect
    0
    /5
    Avg: 0/5: (0 votes)
  • 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.RegularExpressions; namespace SampleConsoleApplication { class Program { static void Main(string[] args) { string illegal = "\"A\"\\b/cd/ g**hj:
    Raghav Khunger  · 3/14/2014  · 0  · 1430
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • 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') AssertionError Solution : In "\test\test.py" of pdf.js source set GIT_CLONE_CHECK variable value to False
    Raghav Khunger  · 3/10/2014  · 0  · 6010
    0
    /5
    Avg: 0/5: (0 votes)
  • 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 batch file. The solution was to download the Python release from here http://www.python.org/download/releases/2.7.5/ and install it.
    Raghav Khunger  · 3/10/2014  · 0  · 700
    0
    /5
    Avg: 0/5: (0 votes)
  • 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 this issue is to manually override the z index of "ui-datepicker" class. This can be done via applying the following css: .ui-datepicker{ z-in
    Raghav Khunger  · 2/28/2014  · 0  · 890
    0
    /5
    Avg: 0/5: (0 votes)
  • Recently one of our developers was facing this error when trying to connect with a secure SMTP server to send emails via C# code: "Email Sending Failed. Reason: Failure sending mail. Inner: System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed."
    Vivek Thakur  · 2/11/2014  · 0  · 2631
    0
    /5
    Avg: 0/5: (0 votes)
  • 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> <rules> <rule name="HTTP to HTTPS redirect" stopProcessing="true"> <match url="(.*)" /&a
    Raghav Khunger  · 2/8/2014  · 0  · 1648
    asp.net .net-4.0 url-rewriting web-config
    0
    /5
    Avg: 0/5: (0 votes)
  • 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: 'newdocument, cut, copy, paste',
    Raghav Khunger  · 2/1/2014  · 0  · 765
    TinyMCE tinymce4
    0
    /5
    Avg: 0/5: (0 votes)
  • 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 option as the Network Settings for me: i.e Select Adapter 1. Check the "Enable Network Adapter" checkbox. Select "Bridged Adapter" o
    Raghav Khunger  · 1/30/2014  · 0  · 1153
    internet networking virtualbox windows-xp
    0
    /5
    Avg: 0/5: (0 votes)
  • 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 this option was that it was not importing new stored procedures from database project to destination database. The fix for this issue was to select &
    Raghav Khunger  · 1/22/2014  · 0  · 5059
    database sql-server visual-studio database-project
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show you how to swap two integer variables. I will be using Interlocked.Exchange to do the same: using System; using System.Threading; namespace SampleConsoleApplication { class Program { static void Main(string[] args) { int i = 1; int j = 2; Console.WriteLine("Before Swapping: i={0}, j={1}", i, j); Interlocked.Exchan
    Raghav Khunger  · 1/17/2014  · 0  · 744
    c#
    0
    /5
    Avg: 0/5: (0 votes)
  • I tried creating a database project todat in VS2012 but was encountered with the following error: Unable to open Database Project This version of SQL Server Data Tools is not compatible with the database runtime components installed on this computer. The solution was to install the lastest version Data tools from here http://msdn.microsoft.com/en-u
    Raghav Khunger  · 1/16/2014  · 0  · 643
    visual-studio-2012
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will help you how to delete duplicate rows from a table where there is no primary key in the table. Below is the script to insert data: CREATE TABLE MyTable ( Col1 INT , Col2 VARCHAR(10) , Col3 VARCHAR(11) ); GO INSERT INTO MyTable VALUES ( 1, 'Jack', '555-55-5555' ); INSERT INTO MyTable VALUES ( 2, 'Joe', &am
    Raghav Khunger  · 1/13/2014  · 0  · 1205
    Sql sql-server
    0
    /5
    Avg: 0/5: (0 votes)
  • If you are facing 404 error while accessing iso extension file this blog will help you. You need to add following code in your web.config: <remove fileExtension=".iso" /> <mimeMap fileExtension=".iso" mimeType="application/octet-stream" /> Here is the location wehere to add the same:
    Raghav Khunger  · 1/12/2014  · 0  · 711
    asp.net web.config mine-type
    0
    /5
    Avg: 0/5: (0 votes)
  • If you want to resize the hiberfil.sys on your machine running on Windows 7 you need to run following command: powercfg -h -size 50 Above 50 is the percentage by which you want to reduce
    Raghav Khunger  · 1/9/2014  · 0  · 730
    windows-7 hibernate
    0
    /5
    Avg: 0/5: (0 votes)
  • If you want to enable hibernation on your machine running on Windows 7 you need to run following command: powercfg -h on You can verify whether the above command was successfull or not by checking start menu. Hibernation option should be visible now.
    Raghav Khunger  · 1/9/2014  · 0  · 712
    windows-7 hibernate
    0
    /5
    Avg: 0/5: (0 votes)
  • If you want to disable hibernation on your machine running on Windows 7 you need to run following command: powercfg -h off You can verify whether the above command was successfull or not by checking start menu. Hibernation option should be gone now.
    Raghav Khunger  · 1/9/2014  · 0  · 725
    windows-7 hibernate
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to replace single backslash with double backslash in a string with REGEX. Let's say we have a string "This is \ test \ string" and we want to replace single backslash with double backslash so that the output comes "This is \\ test \\ string". Below is the sample code to do the same: using System;
    Raghav Khunger  · 1/9/2014  · 0  · 826
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to replace uppercase letter with "underscore and the letter "in a string with REGEX. Let's say we have a string "ThisIsTestString" and we want to replace uppercase letter with "underscore and the letter" so that the output comes "_This_Is_Test_String". Below is the sample code
    Raghav Khunger  · 1/9/2014  · 0  · 851
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to replace underscores with hyphens in a string with REGEX. Let's say we have a string "This_is_test_string" and we want to replace underscores with hyphens so that the output comes "This-is-test-string". Below is the sample code to do the same: using System; using System.Linq; using System.Text.
    Raghav Khunger  · 1/9/2014  · 0  · 687
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to get number only from a string with REGEX. Let's say we have a string "Hello 123456789 user 456 welcome." and we want the output to be "123456789456". Below is the sample code to do the same: using System; using System.Linq; using System.Text.RegularExpressions; namespace SampleConsoleApplicati
    Raghav Khunger  · 1/8/2014  · 0  · 741
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to validate a string to allow alphanumeric characters only in a string with REGEX. Below is the sample code to do the same: using System; using System.Text.RegularExpressions; namespace SampleConsoleApplication { class Program { static void Main(string[] args) { Regex regex = new Regex("^[a-zA-Z0-9]*$"); //Fir
    Raghav Khunger  · 1/8/2014  · 0  · 713
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)
  • In this blog I will show how to remove all non numeric characters from a string with REGEX. Let's say we have a string "(912)-555-7777" and remove all non numeric characters so that the string looks like "9125557777". Below is the sample code to do the same: using System; using System.Text.RegularExpressions; namespace Sampl
    Raghav Khunger  · 1/7/2014  · 0  · 691
    c# regex
    0
    /5
    Avg: 0/5: (0 votes)