When a user or Group of Users attempts to log into K2 SmartForm Runtime, the Form is not displayed even if the credentials is entered correctly and the user account is valid.
The user is continuously prompted to enter their Login Credentials or they get redirected to a "Not Authorized" message.
When reviewing the Windows Event Viewer - Application Log on the Front-End (SmartForms) Server, the following error is observed stating "File authorization failed for the request":
This issue can occur when the SmartForms Runtime site is configured for Windows Authentication, and the affected user does not have Read permission to the "K2 SmartForms Runtime" Folder.
To verify this, access the Properties of the "K2 SmartForms Runtime" Folder:
Select Security Tab > Advanced > Effective Access.
Click the User/Group "Select a user" and specify the username of an affected user. Click the View Effective Access button to verify the users permission on the "K2 SmartForms Runtime" Folder:
If it is determined that the user account does not have the correct permission, this will cause the issue described. The user account will require at least Read & Execute permissions to successfully access K2 SmartForms Runtime sites.
The cause will need to be identified by reviewing the Folder Permission of the "K2 SmartForms Runtime" Folder.
Possible Causes could be (either directly set or inherited):
The User is not a member of any group with the correct permissions.
The User is a member of a group that has Deny permission.
The User does not have any permission.
The user has Deny permission.
Granting the user Read & Execute Permissions, or removing the Deny Permission should resolve the issue.