@Sneh bharti, which K2 Five version did you use? Is this a new clean install or upgrade to a new version?
@blackfantasy mine is version 5.7
@Sneh bharti did you do a clean install (fresh installment) or did you upgrade from the previous version, for example, upgrade from v5.6 to v5.7? Does the setup manager finish configuring and were the errors found when you ran the K2 configuration analysis?
Usually the errors occur when you do the upgrade or patch, not from a clean install. The errors that you experienced are related to the authentication method on IIS.
Please do check both web.config files on “C:\Program Files\K2\K2 smartforms Runtime” and “C:\Program Files\K2\K2 smartforms Designer”. Make sure there are no duplicate values for certain tags and no misplaced tags, for example:
<configSections>
<section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<!--this is the duplicates value and must be commented <section name="sourceCode.identityModel" type="SourceCode.Security.Claims.Web.Configuration, SourceCode.Security.Claims.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16A2C5AAAA1B130D"/>-->
if you find duplicate values, just convert them into a comment. For misplaced tags, just re-arrange to the right ordering position.
Hi @blackfantasy
I am doing the fresh installment from the scratch.
Base on the stack trace of that error, it looks like it is maybe looking for the authentication mode for the K2 website.
IIS7WebFunctions.GetAuthMode(String siteName, String virtualDirectory)
What version of Windows Server are you installing on? Is it one of the supported version listed below?
https://help.nintex.com/en-US/platform/K2Support/ProductCompatibilityMatrix.htm#K2_Server_Components
Do you have the following windows Roles and Features added?
https://help.nintex.com/en-US/nintexautomation/icg/5.7/Content/Plan/WinSvrRolesFeatures.htm
Specifically the Security Features > Windows Authentication.