K2 Studio is not connecting to K2 server: "Open Failed: Open may only be called on a primary login"
kbt172095
PRODUCTIssue
K2 Studio is not connecting to the K2 server with the following message appearing: "Open Failed : Open may only be called on a primary login"
Symptoms
This was identified as a known issue when upgrading to K2 5.2 or 5.3 with the K2 Studio Client tools.
After upgrading to 5.2 or 5.3 you will be unable to connect from K2 Studio to the K2 server, due to invalid connection Strings.
Troubleshooting Steps
To resolve this issue validate that the K2Studio.exe.config file(C:Program Files (x86)K2K2Studio) is correctly configured.
Below is the incorrect and correct configuration:
Incorrect Connection String
<connectionStrings>
<add name="HostServer" connectionString="[K2HOSTCONNECTIONSTRING]" providerName="[LICENSEDPRODUCT]" />
</connectionStrings>
Correct Connection String
<connectionStrings>
<add name="HostServer" connectionString="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=k2server.com;Port=5555" providerName="K2blackpearl" />
</connectionStrings>
This issue was identified on the K2 Studio Client installation and identified as a known issue in the K2 Product and will be addressed in a future release.