Knowledge Base

The URI is empty error

  • 9 June 2023
  • 0 replies
  • 42 views

Badge +6
  • Nintex Employee
  • 11 replies

Problem

This error can occur when logging to K2 using Forms Authentication without specifying security label. For example, if you just enter 'user1', K2 will loop through the K2, K2SQL and other security labels to find out which security label the user is using. This error appears when K2 attempts to authenticate user using the SHAREPOINT or SP security label. The SHAREPOINT security label requires extra data to be specified, and without that extra data configured, you will get the 'The URI is empty' error, and K2 will be unable to log users in using that security label.

Solution

If you do not want this error to appear in the logs, you can apply the following:

1. Go to [Install Dir]\WebServices\Identity\Sts\Forms

2. Make a backup copy of web.config

3. Edit web.config

4. Look for ExcludedSecurityLabels. You should find a line that look like this:

add key='ExcludedSecurityLabels' value='SP'

5. Make sure that line is not commented. If it is commented out, uncomment it.

6. Update it to look like this:

add key='ExcludedSecurityLabels' value='SP;CE;SHAREPOINT'

7. Save the changes.

8. You may need to do an IISReset

0 replies

Be the first to reply!

Reply