Skip to content

Plug-ins and custom code

0x80040224

IsvUnExpected

Custom code failed with an unexpected error.

Hex
0x80040224
Decimal
-2147220956
Name
IsvUnExpected

Common causes

  • A plug-in hit an unhandled exception, such as a null reference.
  • A missing image or attribute was read without checking that it exists.

How to fix it

  1. 01Turn on plug-in trace logs and find the stack trace.
  2. 02Check that attributes and images exist before reading them.

Causes and fixes are practical guidance, not an official statement. The code and name come from Microsoft's Dataverse error reference. This site is independent and not affiliated with Microsoft.