knowledgecenter-breadcrum

Knowledge Center

21 May, 2022

[SOLVED] System. Exception: You cannot start a transaction with a different isolation level than is already set on the current transaction.

Posted on 21 May, 2022 by Admin, Posted in Dataverse Dynamics 365

[SOLVED] System. Exception: You cannot start a transaction with a different isolation level than is already set on the current transaction. Blogs

[SOLVED] System.Exception: You cannot start a transaction with a different isolation level than is already set on the current transaction.

Introduction

I faced an error while publishing customisation of an entity using plugin which is “System.Exception: You cannot start a transaction with a different isolation level than is already set on the current transaction“. I tried to search about it, and I found that most people encountered this issue while creating custom entity and custom attribute in it.

Solution

As you can see the error details says that we cannot start a two transaction with different isolation level at time. So, I decided to change plugin execution mode from synchronous to asynchronous so we can avoid starting two transaction at a time.

I hope this will help some of you.

Thank you.

Comment

This is a Required Field

Loading

Recent Updates

Blogs
18 Jul, 2024

How to use Fiddler to debug your PCF while doing development.

Have you ever felt like you're spending too much time debugging your PCF (PowerApps Component Framework) during development, only to…

READ MORE
Blogs
16 Jul, 2024

How to use Solutions with Power Pages

What is Solution in power Pages? A solution is a container for components such as Website Configuration and Dataverse Components.…

READ MORE
Blogs
15 Jul, 2024

Create a Dataverse table with a SharePoint List

In today’s business world, Organization uses SharePoint lists for document management, and data storage. Let's assume a scenario where an organization…

READ MORE