Known Issue: An ‘Object Reference Not Set’ Error occurs when using the Forms STS after upgrading to K2 smartforms 1.0.6

  • 16 February 2021
  • 0 replies
  • 10 views

Badge +5
 

Known Issue: An ‘Object Reference Not Set’ Error occurs when using the Forms STS after upgrading to K2 smartforms 1.0.6

KB001622

PRODUCT
K2 smartforms 1.0.6
BASED ON
K2 smartforms 1.0.6
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

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')

 


0 replies

Be the first to reply!

Reply