Friday, February 11, 2011

Nintex Workflow 2010 ‘Task Reminder’ Bug & Fix

This morning I came across the following error while trying to publish a Nintex 2010 workflow which contains a ‘Task Reminder’ workflow action.

I have a SharePoint 2010 MOSS environment. I create a new Nintex 2010 Workflow which I can save and publish without problems.

Then I add a ‘Task Reminder’ action


And when I publish the workflow I get the following error:


For a type to be used within the workflow, it must be registered as an Authorized Type in the web.config file. All of the Nintex workflow actions and custom types are registered as authorized types.
Some of the workflow actions have a property of a type that inherits from a generic list, that is List<T>. List<T> is a basic system type provided in .NET.
With SharePoint 2010, List<T> is no longer authorized. Workflow actions that use a type that inherits from List<T> no longer run or publish.
The SharePoint web service to validate workflows returns the following error when publishing:
<Error><CompilerError Line="0" Column="0" Text="Type System.Collections.Generic.List`1, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 is not marked as authorized in the application configuration file." /></Error>

Work around:
Add the following to the web.config of the SharePoint web application on which you want to publish the workflow.

<authorizedType Assembly="mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System.Collections.Generic" TypeName="List`1" Authorized="True" />

Save the web.config and return to SharePoint and now you will be able to successfully publish the same workflow (containing the Task Reminder):


Regmi said...

Thank you Johan. Saved me a lot of bug hunting I suppose. I was starting to look at whether our system has expired license.

sarah lee said...

Hurricane season brings a humbling reminder that, despite our technologies, most of nature remains unpredictable. See the link below for more info.


Silvia Jacinto said...

I really love your blog there's a lot to share. Keep it up.Visit my site too.

gowsalya said...

Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
digital marketing training in marathahalli

digital marketing training in rajajinagar

Digital Marketing Training in online

full stack developer training in pune

full stack developer training in annanagar

Mouni yoga said...

I found this informative and interesting blog so i think so its very useful and knowledge able.I would like to thank you for the efforts you have made in writing this article.
python training in Bangalore
python training in rajajinagar
Python training in btm

ragul ragul said...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Blueprism training in annanagar

Blueprism training in velachery

Blueprism training in marathahalli

AWS Training in chennai

shalinipriya said...

Hello I am so delighted I found your blog, I really found you by mistake, while I was looking on Yahoo for something else, anyways I am here now and would just like to say thanks for a tremendous post. Please do keep up the great work.

Data Science Training in Chennai
Data science training in bangalore
Data science online training
Data science training in pune

sudha P said...

Thank you for sharing such great information with us. I really appreciate everything that you’ve done here and am glad to know that you really care about the world that we live in

java training in annanagar | java training in chennai

java training in marathahalli | java training in btm layout

genga g said...

Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information..

angularjs-Training in chennai

angularjs Training in chennai

angularjs-Training in tambaram

angularjs-Training in sholinganallur

angularjs-Training in velachery

zasi said...

Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.

Best AWS Training in Chennai | Amazon Web Services Training in Chennai

AWS Training in Chennai | AWS Training Institute in Chennai Velachery, Tambaram, OMR

AWS Training in Chennai |Best Amazon Web Services Training in Chennai

AWS Training in Velachery | Best AWS Course in Velachery,Chennai

Post a Comment