Error: Failed to create a control from assembly

  • 26 March 2021
  • 0 replies
  • 130 views

Userlevel 3
Badge +8

Issue

Workflow fails with an unknown error. Checking the SharePoint logs reveals the below error.

Error Message:

Failed to create a control from assembly 'Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12', class 'Nintex.Workflow.ServerControls.UserMenu': The control with assembly name 'Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12' class name 'Nintex.Workflow.ServerControls.UserMenu' is not allowed for web at URL 'http://contoso.com. The type Nintex.Workflow.ServerControls.UserMenu, Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12 could not be found or it is not registered as safe.” indicates the need to activate the Web Application.

 

Resolution

Using the Farm Installation account or another account with sufficient permissions, activate all web applications that use Nintex Workflow.

To activate web applications for Nintex Workflow:

  1. On the Central Administration Home page, click Nintex Workflow Management.
  2. Click Web Application activation. The default web application name is automatically selected.
  3. To activate all web applications for Nintex Workflow, select the check box for All content web applications and then click Activate.
  4. To activate a subset of web applications for Nintex Workflow, select each web application and then click Activate; repeat until all desired web applications have been activated.

 

Error Code

Failed to create a control from assembly 'Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12', class 'Nintex.Workflow.ServerControls.UserMenu': The control with assembly name 'Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12' class name 'Nintex.Workflow.ServerControls.UserMenu' is not allowed for web at URL 'Microsoft - Official Home Page. The type Nintex.Workflow.ServerControls.UserMenu, Nintex.Workflow.ServerControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12 could not be found or it is not registered as safe.” indicates the need to activate the Web Application.

 


0 replies

Be the first to reply!

Reply