Project not selected to build for this solution configuration.

When you upgrade your older solution files to latest version of visual studio 2010 or 2012 you may get compilation output as "Project not selected to build for this solution configuration", even though with the earlier version of visual studio these projects were building fine. 
In order to build required project you just have to modify the solution configuration. Steps below mention how to do it.
  1. Launch the Solution properties, by right clicking solution and select Properties.
  2. On solution properties dialog box, from configuration properties group select Configuration.
  3. For the projects which you are getting the error as above select the check box under Build column if not checked. 
  4. Save configuration by pressing OK.
Now your project being skipped should get built, while building the solution.

Error Code: bX-4wouuu When you try to see blogger stat

When you try to view your blogger stat you may get an error "bX-4wouuu". The message will look similar to below image 

We're sorry, but we were unable to complete your request.
When reporting this error to Blogger Support or on the Blogger Help Group, please:
Describe what you were doing when you got this error.
Provide the following error code.
bX-4wouuu
This information will help us to track down your specific problem and fix it! We apologize for the inconvenience.
This error may caused by the browser cache or some of the installed chrome Extensions. 
In order to resolve the error, first clear the browser cache. If this did not resolve the problem then some extension might be the culprit. In my case it was "DAP Link Checker extension". 
Disable the extension and relaunch the chrome you should able to see the blogger stat. This extension gets installed by default when you install DAP. 

If you don't have the DAP extension installed then try removing available extensions one by one and check which is causing the problem.

Note : To disable the extension in chrome Go to Tools->Extensions and un-select the extension which you want to disable. To reflect the change you will need to relaunch the chrome.

Error : "The local policy of this system does not permit you to logon interactively" during RDC


If you are trying to use the Remote Desktop Connection tool to connect to your another system you may receive the following error message: “The local policy of this system does not permit you to logon interactively.”
All the below mention procedure needs to be carried out on the Remote Machine that you are trying to connect using Remote Desktop Connection tool. Also in order to perform below steps you will require administrative rights on the remote machine.


To resolve this issue, add user with which you are trying to connect to the Remote Desktop Users group:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click System, and then on the Remote tab, click Select Remote Users.
  3. Click Add type in the user account name, and then click OK.

Also, make sure that the Remote Desktop Users group has sufficient permissions to log on through Terminal Services. To check this, follow these steps:
  1. Click Start, click Run, type secpol.msc, and then click OK.
  2. Expand Local Policies, and then click User Rights Assignment.
  3. In the right pane, double-click Allow logon through Terminal Services. Make sure that the Remote Desktop Users group is listed.
  4. Click OK.
  5. In the right pane, double-click Deny logon through Terminal Services. Make sure that the Remote Desktop Users group is not listed, and then click OK. Also make sure that Group "Everyone" is not present in the list. If Group "Everyone" is listed then select the group and Click Remove. Now Click Apply and OK.
  6. Close the Local Security Settings snap-in.

How to Factory Data Reset or Hard Reset Samsung Galaxy SIII (GT-i9300)


Note: Performing these steps you will loose all your contacts, messages, all application settings and all installed applications.

If you have trouble with phone software and you want to reset the phone to factory state, you can try factory reset using below steps:

1. Go to System Settings and then select Privacy.
2. Select FACTORY DATA RESET
4. Select RESET PHONE
5. If the password is required,enter it. Then confirm by selecting ERASE EVERYTHING. 

If you’re unable to access the settings menu of your Galaxy S III, to Hard Reset the try this method:

1. Turn phone POWER OFF, or pull the battery out and put it back again.
2. Press the Volume UP + Home Button.
3. Keep pressing these 2 buttons + press POWER button for 2-3 seconds.
4. Release only power button but keep pressing Volume Up, Home button.
5. A Boot Menu will then show, Use the volume up/down to choose and home to select.
6. Select Wipe data/factory reset option and press Power button.

7. Now select Yes - delete all user data and Press Power button.
8. Once Wipe Completes, select reboot the system now.

This reset method is especially useful if your phone continually freezes or fails to respond or you’ve forgotten the security locks you’ve set up to access the phone

How to Factory Reset or Hard Reset Samsung Galaxy SII ( GT-i9100)

Note: Performing these steps you will loose all your contacts, messages, all application settings and all installed applications.
If you have trouble with phone software and you want to reset the phone to factory state, you can try factory reset using below steps:
1. Go to System Settings and then select Privacy.
2. Select FACTORY DATA RESET
4. Select RESET PHONE
5. If the password is required,enter it. Then confirm by selecting ERASE EVERYTHING. 

If you’re unable to access the settings menu of your Galaxy S II, to Hard Reset the try this method:

1. Turn phone POWER OFF, or pull the battery out and put it back again.
2. Press the Volume UP + Home Button.
3. Keep pressing these 2 buttons + press POWER button for 2-3 seconds.
4. Release only power button but keep pressing Volume Up, Home button.
5. A Boot Menu will then show, Use the volume up/down to choose and home to select.
6. Select Wipe data/factory reset option and press Power button.
7. Now select Yes - delete all user data and Press Power button.
8. Once Wipe Completes, select reboot the system now.

This reset method is especially useful if your phone continually freezes or fails to respond or you’ve forgotten the security locks you’ve set up to access the phone.

error C2065: 'in6addr_allnodesonnode' : undeclared identifier

If you are converting VC++/C++ project form Visual Studio 2003 or Visual Studio 2005 to Visual Studio 2008 or later you may hit the error "error C2065: 'in6addr_allnodesonnode' : undeclared identifier" or many such undeclared identifier errors.

One way to resolve the error is to modify the include sequence of the below mentioned header files:


#include <Ws2tcpip.h>
#include <mstcpip.h>

to 

#include <mstcpip.h>
#include <Ws2tcpip.h>
 
Else you will have to declare the WinVer > 0x500

MSMQ error : "A workgroup installation computer does not support the operation."

You may get exception saying "A workgroup installation computer does not support the operation.", when you are trying to create or send message to MessageQueue.
In order to resolve the error :
  • Check your installation of the MSMQ if it is installed in the Workgroup Mode? You should select AD integration mode during installation.
  • If you had selected AD integration mode, then check the event logs for MSMQ installation if it had failed during initialization. 
  • Insure that your domain controller is accessible from the machine where MSMQ is installed.
In any of the cases event logs should able to provide you the required details if installation or initialization is failed.

MSMQ Error :"The specified format name does not support the requested operation."

You may get the error: "The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted.", when you are trying to access message from the MSMQ using Direct format Name over the HTTP or HTTPS. As Direct format names that specify the HTTP or HTTPS protocol cannot be used to peek at or receive messages, only to send them. You can get more information about the format names here  http://msdn.microsoft.com/en-us/library/windows/desktop/ms706037(v=vs.85).aspx

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...