Symptoms
K2 Workspace is running but with the following error:
"Authentication With Server Failed : Object reference not set to an instance of an object"
Diagnoses
1. Enabled full host server logging and restarted the K2 blackpearl service.
2. Generated logs have this interesting error:
"Error","General","1","GeneralErrorMessage","SourceCode.Endpoint.Server.EndpointServer.Init","1 Required attribute 'scheme' not found. (D:Program Files (x86)K2 blackpearlHost ServerBinK2HostServer.exe.Config line 229)"
3. Checked K2HostServer.exe.config, and noticed andltsmoServicesandgt is missing a number of attributes, including 'scheme'
Resolution
Updated K2HostServer.exe.config, so that andltsmoServicesandgt now has all the required attributes, and look something like this:
andltsmoServices enableEndpoints="false" enableEvents="true" enableCrossDomainPolicy="false" specialCharacterReplacement="_" scheme="http" server="dlx.denallix.com" port="8888" serviceRoot="SmartObjectServices"andgt