Enable detailed Error listing for Classic ASP and ASPX in a shared hosting server

When we are using a shared hosting server which is already in production for our development , this might not return detailed error messages to the browser, in these cases it will come to a permanent trouble to the development team. to enable detailed error listing do two thing

The Web.config file

1. Edit for disabling custome errors if any

<customErrors mode=”Off” />

Now add this tag to get detailed error

<httpErrors errorMode=”Detailed” />

In some cases you need to restart IIS , if so contact your provider for the same

Now onward IIS will report detailed error  to browser, Don’t forget to remove these changes when your project go live

Create a recovery disc to install windows 10

Even if we Install or upgrade   windows 10 , it may crash at any time, here comes the need of a recovery drive to restore to a working point.,

How to make a recovery Media

Goto Control Panel >> All Control panel Items >> Recovery



Click on Create a Recovery drive

Connect your USB Drive ( Minimum 16GB)

Remember all your data on the drive will lost

Complete the wizard, Your Recovery drive is now ready, keep this safe

Install Windows 10 or Download Windows 10 ISO

windows10-laptopWindows 10 Released and is a free upgrade for windows 7,8 and 8.1. If you cant wait this normal upgrade to come for you Microsoft offers a on demand download and install tools with which anybody can download the tool and either upgrade directly or download ISO for a later install.

Before Installing Make sure you have:

  • A Steady Internet connection .( Here expect a minimum data transfer of 3 GB)
  • Minimum free space of 5 GB in your HDD or USB drive to meet install expansions
  • A blak USB or DVD to prepare install media (in case to make install media)

System Requirements

1 gigahertz (GHz) or faster CPU
1GB for 32bit and 2GB for 64 bit
16gb for 32bit and 20 GB for 64bit
DirectX 9 or later with WDDM 1.0 driver
800×600 Resolution

Now download the tools

Tool for 32bit Machines | Tool for 64bit Machines

After download run the app and follow on screen instructions if you are installing for the first time you may need a KEY for complete the process



Skype Login screen messed up

Its common is some cases where skype screen appear disturbed with scattered login. this login is bit frustrating and in some times it may not work even.

Here is the solution.

Goto Run >> ( Windows + R )


Double click on Content type , Change value to text\css


Now open skype.

Sending email from Linux command line

Sending Simple mail

root@mypc [~]# mail -s “test message from centos” meabi@meabi.com
hello from centos linux command line
root@mypc [~]#

Here is the received message



Send with an attachment

For this create a blank file first

root@odc [~/mail]# touch attachment

Now the sending part

root@odc [~/mail]# mail -a ./attachment  abhilash@morbits.net < ./attachment
No message, no subject; hope that’s ok
root@odc [~/mail]#

Here what we did is , redirecting attachment content as the body of the mail, that is Null as we used touch for creating that file

Inbox view


Zip command in centos

zip a single file with example

Lets create a new file, for immediate creation i am using output redirection, where output of command “ls -l” is redirecting to my filename “myFiles.txt”

root@mypc [~/test]# ls -l > myFiles.txt
Confirming file creation
root@mypc [~/test]# ls -lh
total 12K
drwxr-xr-x  2 root root 4.0K May 21 23:54 ./
dr-xr-x— 16 root root 4.0K May 21 23:53 ../
-rw-r–r–  1 root root  153 May 21 23:54 myFiles.txt

Now adding myFiles.txt into myFiles.zip

root@mypc [~/test]# zip myFiles.zip myFiles.txt
adding: myFiles.txt (deflated 39%)

Verifying zip creation

root@mypc [~/test]# ls -lh
total 16K
drwxr-xr-x  2 root root 4.0K May 21 23:54 ./
dr-xr-x— 16 root root 4.0K May 21 23:53 ../
-rw-r–r–  1 root root  153 May 21 23:54 myFiles.txt
-rw-r–r–  1 root root  265 May 21 23:54 myFiles.zip

Now create another file

root@mypc [~/test]# ls -ls > myFiles1.txt

Zip all two files together

root@mypc [~/test]# zip myFiles.zip myFiles.txt myFiles1.txt
updating: myFiles.txt (deflated 39%)
adding: myFiles1.txt (deflated 55%)
root@mypc [~/test]# ls -l
total 20
drwxr-xr-x  2 root root 4096 May 22 00:04 ./
dr-xr-x— 16 root root 4096 May 21 23:53 ../
-rw-r–r–  1 root root  273 May 22 00:03 myFiles1.txt
-rw-r–r–  1 root root  153 May 21 23:54 myFiles.txt
-rw-r–r–  1 root root  541 May 22 00:04 myFiles.zip

To read contents of zip file with out extracting

root@mypc [~/test]# unzip -l myFiles.zip
Archive:  myFiles.zip
Length      Date    Time    Name
———  ———- —–   —-
153  05-21-2015 23:54   myFiles.txt
273  05-22-2015 00:03   myFiles1.txt
———                     ——-
426                     2 files

To view content of a File inside the zip with out extracting full

root@mypc [~/test]# unzip -c myFiles.zip myFiles1.txt
Archive:  myFiles.zip
inflating: myFiles1.txt
total 16
4 drwxr-xr-x  2 root root 4096 May 22 00:03 ./
4 dr-xr-x— 16 root root 4096 May 21 23:53 ../
0 -rw-r–r–  1 root root    0 May 22 00:03 myFiles1.txt
4 -rw-r–r–  1 root root  153 May 21 23:54 myFiles.txt
4 -rw-r–r–  1 root root  265 May 21 23:54 myFiles.zip

MySQL Backup and Restore from Command Line & migration between two servers

While migrating an application or website from one LAMP server in to another , major headache is the DB migration, here is how we can simplify things so that your local bandwidth will be untouched and time of migration will be minimum as this is a server to server communication. Here we are bypassing following steps which are normally in practice

1. Download backups to local machine

2. Extract

3. Upload to Remote Server

4. Restore Data separately

Backup Database

]# mysqldump database_name > database_name.sql

This will consume some time based on the size of database , which we are backing up.

Now copy this file from Local server to remote server.  Read this article to know how to do this., When this file get copied to the remote server, go to next step.

Restore Database

]# mysql –u username –p database_tobe_restored < backupfile.sql

This will prompt for password and upon submitting password there will be a cursor blinking with out any response text , and the time of wait is directly proportional to the size of file to be restored., wait until it finishes and check your restored database.

Windows 8 WiFi disconnecting continuously : Trouble shooting, Solution


Its frustrating, Getting disconnected from WiFi continuously , This was owing to the power saving algorithm builtin to Windows 8, What we have to do here is to switch off this option for additional power saving,Follow these steps


Right click on WiFi icon on tray

  • Open Network and Sharing center –> Change Adapter Settings
  • Select WiFi Adapter –> Properties


  • Click on Configure


  • Goto Power management Tab


  • Uncheck, Allow the computer to turn off this device to save power

This will keep your WiFi Active till range is there.

Windows 8 keys quotes and apostrophe not working or misbehaving : solution

Few of new laptops , mostly when shipped with pre installed windows 8  are showing some keyboard layout issues, out of this the worst case is the double quotes(“) and apostrophe(‘) key combination issues.

When it came in to my New Dell Inspiron 3543, I did a good amount of googling and even contacted dell support., I was not sure this is an OS setting issue and I took this as an issue with the “Shift” key or to those keys for that symbols. What I am experiencing is like , I have to press Shift + “ and for displaying this , one more key press must follow and when [‘] is pressing at the beginning it was turning in to some other control characters.

Fortunately I came to a solution which is built-in to windows, related to Keyboard layouts. Here is how to make this

Step 1

First go to PC Settings, for this Press Windows key, and Search “PC Settings”


Step 2

Now go to Time and language >> Region and language


Step 3

Now Click Add a language and Select English –>  English ( United Kingdom )


Now almost done , Final Step

Step 4

Select Your Language , click and Press Set as Primary


Now sign out your session and sign in again for the changes to come live

Play local media files on your Windows laptop or desktop through Google chromecast

329780-google-chromecastChromecast the most popular HDMI streaming dongle is now available in india through flipkart and snapdeal.  To cast a screen from your Mobile  its simple as lolipop onwards android supports native screen casting, with which one can cast android screen and play videos using your favorite player , and on full screen mode your TV also will switch  to full screen mode. But when you are connecting with your laptop or desktop , solution is not native and is different.

For playing a local media we can use chome browser extension called google cast. Download and install this from the above URL. Now we are ready to play videos which are supported by google chrome., if some of files are not playing follow Method 3.

Method 1

Drag and play any videos to google chrome and cast the tab



at the time when I am preparing this my device was not online, when the device is connected to the same network as your computer it will list there and you can directly cast the current tab to TV.

Now Drang and drop your video file to this tab, video will start play on this tab and on your TV.

Method 2

Using Videostream for Chrome, Download and Install this extension from the above link,Now from the App launcher ( chrome://apps/ ) run videostream.


this a chrome based player and supports almost all file extensions, open files from “Choose Video”  button, if your file is not supported use the following method

Method 3, VLC Player

If you are a fan of VLC player go for this one, Download and install VLC player for Windows,Now in most of cases VLC Chrome extension will be installed on your browser, if not install extension from store. Now follow method 1, all your videos which is playable in VLC also will play in chrome.

If you got some other techniques please share it on comments

Send Bulk Personal Messages in WhatsApp, Whatsapp Broadcast

whatsappBroadcastingWhile WhatsApp groups are popular ,  there is a tendency also getting popular, regularly forwarded messages are making groups thicker and lion segment of users are forced to mute such groups even for an year., These practices make groups of no use , and the purpose for which those created may not be serving in most of the cases.

But there is another bulk messaging option in whatsapp where we can send one to one message with the ease of group sending. This is not that popular as Groups and thus a rarely using feature. here is the details,Whatsapp Broadcasting

For Broadcasting First go to Whatsapp Menu –> New Broadcast


Now you will be prompted for adding contacts, add all contacts for which you want to broadcast your message


Now Press Create on top right

You are in to broadcasting screen now, Once you send a Message you can view read statistics by long pressing the message and then on the (i) icon on top, just as in group messages



Limitation for Broadcast is that , Only those who having your number in their address book will be receiving Broadcasting Message