User browser in Visual Studio 2010 throws authentication is required for this session when we expand user/roles/groups nodes in user browser.

  • 15 February 2011
  • 2 replies
  • 0 views

Badge +1

Hi,


Evnviroment :


1-AD
2-K2 4.5 ( K2 server and Workspace) and sharepoint 2010 on Win 2008
3-Developer machine (Visual Studio 2010) on Win 2008


We are facing  the following error when we tried to browse users or groups from visual studio 2010 -> K2 Object browser -> User browser from the developer machine while it is working fine from Visual Studio where installed in the K2 Server with the same user credential.


Other nodes in  Object browser  like Enviroment ,Process/Activity data .... works fine, exception user/roles/group nodes in user browser,


Error Message:
System.Exception: Authentication required for session 6EC4AE3EBAEB8D5CD5C2180E5172EC55
at SourceCode.Workflow.Common.HostedServers.SmartObjects.GetSmartObject(String name)
at SourceCode.Workflow.Plugins.UserBrowser.UserBrowserUserRootItem.OnLoadItems()


Enviroment connection string


Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=k2server.domain.com;Port=5555;SecurityLabelName=K2


Please advice


Thanks


2 replies

Badge +10

The configuration file that K2 Studio uses to connect to AD is stored in the configurationmanager.config file not the environment variable.  Sometimes I've found that on a new installation the installer doesn't correctly populate the connection string for the user browser for the K2 Studio component.


Look at the following post from Aarthi to double check that connection string.


http://www.k2underground.com/forums/p/7317/36228.aspx#36228

Badge +1

Many thanks Tim, it works :)


 

Reply