Issue

A login error occurs after upgrading to K2 smartforms 1.0.6 when attempting to log in against the Forms STS.  The Forms STS returns the following error:

(Empty Exception Details, with “Object Reference Not Set” in the URL)

Image

Workaround 1

  1. Open the SmartForms K2 Designer.
  2. Navigate to and run the Manage Claims Form from: System -> Management -> Security -> Forms -> Manage Claims.
    Image
  3. Select and edit the label you are logging in against.
  4. Ensure that “Claim Type Info” is true (checked).
    Image
  5. Click OK.
  6. Close your browser and try to login against this label again.

 

Workaround 2

In the case where you ONLY have a forms login, and are not able to get to the management pages to set this value, you can use the following script to update the settings in MSSQL:

USE K2;

DECLARE @SecurityLabel NVARCHAR(20);

--Replace K2SQL with your relevant label

SET @SecurityLabel = 'K2SQL';

UPDATE [Identity].[ClaimTypeMapping]

SET [ClaimTypeInfo] = 1

WHERE [SecurityLabel] = @SecurityLabel AND [IssuerID] = (SELECT [ID] FROM [Identity].[ClaimIssuer] WHERE [Issuer] = 'FormsSTS')