No ratings

Unable to retrieve roles or users in Visual Studio


Unable to retrieve roles or users in visual studio

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


You may encounter an error when expanding Roles or Users in the K2 Object Browser on Visual Studio 2010.




The error presented is as follows:

"No connection could be made because the target machine actively refused it"


Troubleshooting Steps

To resolve the issue, please follow these steps:

1. Open the ConfigurationManager.config file in C:\ProgramData\SourceCode.

2.  Locate the key below, and ensure that the 'Host' setting is pointing to the correct K2 server:

"<add key="UserBrowserServer"



Labels: (1)
Version history
Last update:
‎05-20-2021 03:40 AM
Updated by: