Thursday, 16 July 2015

How to create HotSpot in windows client(Laptops) machines like windows 7, 8, 8.1 etc

Hi Guys are you feed up of paying for internet package as an IT guy working with laptop connected to LAN\WAN. I got a small trick to create a hotspot within Lapi using which you can share the internet with you other personal devices and enjoy surfing etc...
Remember this does not require you to be a Microsoft certified professional or network administrator….!!!!! J
Easy Steps to Use Windows client (Windows 7, 8, 8.1 and 10) Laptop as Wi-Fi Hotspot.

Pre-requisites:
  1. A laptop.
  2. A working net connection.
  3. A Wi-Fi adapter that has ability to support the sharing for net connection.
Steps:
  1.  Start the command prompt in “Administrator Mode”. 
  2. Verify whether your hardware supports hosted network and is it enabled. And I would like to showcase the existing network adapters in the laptop before I start the configuration. 

  3.  Now we will execute couple of simple commands to get the HotSpot configured. Below is the command to set the hotspot in general.

    "
    netsh wlan set hostednetwork mode=allow ssid=YourVirtualNetworkName key=YourNetworkPassword"
    Ex: 
    netsh wlan set hostednetwork mode=allow ssid=hotspot key=p@ssword
    ssid 
    à name for your hotspot      key à password to authenticate while getting connected

  4. Once you successfully set the hotspot it is time to start and make use of it. Below is the command to start the hostednetwork or HotSpot. 
    "netsh wlan start hostednetwork"
  5. That’s is your done with setting and starting your personal hotspot. Well you’re not yet done completely with a little bit of additional configuration you will be set free to enjoy internet sharing with your hotspot. 
  6. Go to windows run (windows key + R) and type out “ncpa.cpl” a shortcut command to reach network connections wizard. 
  7. Once you make to the network connections window, right click on the network adapter (in my case Wi-Fi) which will share the internet with the newly created virtual hotspot adapter (Local Area connection* 15) and go into properties à sharing tab. 
    In the sharing tab check the checkbox for “Allow other network users to connect through this computers internet connection” and from the drop down select the newly created network adapter. 
  8. Whenever you restart your computer you need not do the entire configuration once again instead just run the command "netsh wlan start hostednetwork” in the elevated command prompt (Run as Administrator). 
  9. That’s it your done and enjoying surfing over internet.

Tuesday, 14 July 2015

TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task TestResolutionState from group TestManagement.

In the past i was working with one of the client where i was migrating data along with reports and SharePoint from TFS 2008 to TFS 2013 update 4 which was successfully completed. But after migration i came across an issue while creating new team project.

Below is the error:

TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task TestResolutionState from group TestManagement.
Plugin error text: “System.MissingFieldException: Field not found:  'Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet'.  at  Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()  at  Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets()  at  Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject..ctor(TestManagementService  manager, String projectName) at  Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.b__0(String  name) at  Microsoft.TeamFoundation.TestManagement.Client.ObjectCache`2.Get(Key  key, Creator creator) at  Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.GetTeamProject(String  projectName) at  Microsoft.TeamFoundation.TestManagement.PcwPlugin.ContextWrapper.get_Project()  at  Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.SetPermissionsIfNeeded(ContextWrapper  wrapper) at  Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper  wrapper, XmlNode taskXml, Boolean fExecute)”
Then i understood it as a bug in the update and i dint not stop there did some investigation and then i ended at a point which resolved the issue. 

Solution:
Below are the steps to be followed:
  1. Close all instances on Visual Studio and Microsoft Test Manager
  2. Open Visual Studio command prompt in admin mode.
  3. Perform the following steps: 
    • ngen uninstall Microsoft.TeamFoundation.TestManagement.Client 
    • ngen uninstall Microsoft.TeamFoundation.TestManagement.Common
If still the issue is not fixed, do the following:
  1. Open admin command prompt.
  2. Navigate to <System_Drive>:\Windows\Assembly\NativeImages_v4.0.30319_32
  3. dir /s Microsoft.TeamFoundation.TestManagement.Client.ni.dll
  4. Delete all instances of this native image dll.
    • Ex: del /s Microsoft.TeamFoundation.TestManagement.Client.ni.dll
  5. dir /s Microsoft.TeamFoundation.TestManagement.Common.ni.dll
  6. Delete all instances of this native image dll.
    • Ex: del /s Microsoft.TeamFoundation.TestManagement.Common.ni.dll
Happy ending :)