Can not install K2 Workspace, fails with error'Sourcecode.Security.Window.WindowsTokenService has stopped working'
kbt136128
PRODUCTIssue
Installation of the K2 Workspace in server fails with the following error appearing: 'Sourcecode.Security.Window.WindowsTokenService has stop working'.
Symptoms
After looking at the InstallerTrace file (located in C:Program Files (x86)K2 blackpearlSetupLog) the following error was found:
"'Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel.WindowsTokenService, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at SourceCode.Security.Windows.Program.Main(String[] args)' ConfigureBase.EnsureTokenService: 16:04:43: Stop service if it is started SourceCodeLog.LogMsg: 16:04:43: Logged Error: K2 Workspace error: Cannot open K2WTS service on computer '[ServerName]'."
This error appears because the server doesn’t have the Windows Identify Foundation installed on the machine. To resolve this issue, download and install or enable the Windows Identify Foundation:
Troubleshooting Steps
1. Verify the Microsoft.IdentityModel.WindowsTokenService assembly on path (C:Windowsassembly)
2. If it does not appear, enable the Window Identity Foundation feature
3. Reinstall the K2 Workspace component.