SharePoint – Workflow Event manager error

SharePoint Workflow – On Event Change issues !!

In a custom SharePoint Application we encountered the problem that a Workflow connected to a list.

Which was part of the Custom SP application was not starting based on a ON CHANGE event.

Every time we changed the record we saw this in the ULS.

Event manager error: That assembly does not allow partially trusted callers.

image

Solution is to go the the %windir%\assembly Directory and Drag & Drop the DLL in there. This will register them without the need of the GacUtil.exe

image

Do a IISReset and test again.

It it did not solve the issue you need to go a more insecure approach but more effective for sure.

Open the IIS Manager go to your Web Application, right click and choose Explore.

image

You will end up in the correct folder where you can pick up the web.config file.

Find this entry :

<trust level=”WSS_Custom” originUrl=”” />

And change “WSS_Custom” to “Full

Enjoy !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: