piatok 13. decembra 2013

The backup set holds a backup of a database other than the existing 'DB_NAME' database.

I was trying to restore Sql server backup file for my database , but its throwing an error as follow


Solution:
Don't create an empty database and restore the .bak file on to it.
Use 'Restore Database' option and provide the database name while providing the source to restore.

sobota 7. decembra 2013

Android: taged unknown / adb devices unauthorized

While debugging  my Android phone in Eclipse  I ran into a little issue with adb.
In the column Targed was displayed : Unknow

So I wrote "adb devices" in console and found, my device is unauthorized

~ $ adb devices
List of devices attached 
00310d2453155029 unauthorized


The solution is:

1.) Disable USB Debugging mode
2.) Connect device with USB cable
3.) Enable USB Debugging mode
4.) Confirmation message will be displayed (Accepting RSA key from computer)