‘No such host is known’ when browsing Roles/Users/Groups in Visual K2 Studio

I had re-installed K2 on a new development machine and was trying to create a new K2 process. But when selecting Destination I got an errormessage when trying to select Role, User or Group:

image

Googling wasn’t very helpful, so I had to investigate…

On my development machine in the file C:\Program Files (x86)\K2 blackpearl\Bin\configurationmanager.conf I found the solution. I just had to replace the default Host like this:

<plugins>
  <plugin text=”User Browser” description=”User Browser” makeAvailableOffline=”false” minVersionRequired=”4.0.0.0″ type=”SourceCode.Workflow.Plugins.UserBrowser.UserBrowserPlugin” assembly=”SourceCode.Workflow.Plugins, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d” name=”User Browser”>
    <settings>
      <add key=”UserBrowserServer” value=”Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=SERVERNAME;Port=5555″ />
    </settings>

Restart Visual Studio and everything should (hopefully) work.