This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
When trying to open a K2 Form there is a prompt to create a new token. However, when clicking the link to create a new token a "Authorization not Successful No such host is known" error appears.
Fiddler is a great tool to see where the redirects are pointing to.
Check the Identity web.config file in the following location: [INSTALLDIR]\K2 blackpearl\Webservices\Identity/Web.config
Make sure that the Host in the Connection String and the HostName in <AppSettings/> are the same. It should look something like below.
<add name="HostServer" connectionString="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=SA-LABSDLX;Port=5555" />
<add key="webpages:Version" value="22.214.171.124" />
<add key="webpages:Enabled" value="false" />
<add key="PreserveLoginUrl" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="HostName" value="SA-LABSDLX" />
<add key="HostPort" value="5555" />