K2 Smartforms login unauthorized with valid user account

  • 16 February 2021
  • 0 replies
  • 69 views

Userlevel 5
Badge +20
 

K2 SmartForms login unauthorized with valid user credentials.

kbt151522

PRODUCT
K2 Five
K2 smartforms 4.7
BASED ON
K2 smartforms 4.7
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.

Issue

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.

 

Symptoms

The user is continuously prompted to enter their Login Credentials or they get redirected to a "Not Authorized" message.

Image

or

Image

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":

Image

 

Resolution

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:

Image

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.


0 replies

Be the first to reply!

Reply