Fixed – You cannot start a transaction with a different isolation level than is already set on the current transaction error in Plugin in CRM 2011


I was getting the above error on a plugin that was making use of CreateAttribute request class. The plugin was registered on pre-operation Create event.

From the error message it seemed that we cannot use CreateAttribute request message as a part of same transaction in which the plugin was already running. So we tried by registering our plugin in Pre-Validation stage i.e. outside of transaction. (as used to be the case in CRM 4).

This way I was able to resolve the issue.

Hope it helps.


Leave a Reply

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

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