Error in CustomActivity : {Activity Class}: That assembly does not allow partially trusted callers.


If you have CustomAcitivity registered with Isolation Mode as Sandbox and you are getting error in Custom Activity execution as

Error in CustomActivity : {Activity Class}: That assembly does not allow partially trusted callers.

Then check if you code using using HttpUtility.ParseQueryString method. As per documentation

The ParseQueryString method uses query strings that might contain user input, which is a potential security threat.

Hence this code cannot be executed under Sandbox mode.

HTH

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s