Continuing my optimization fun project. I've scripted out relevant schema to a local instance so I can do some testing. I've had to insert some values into a lookup table. The tsql_stack from the error_reported XE was 5 levels deep with a missing cross DB procedure in the last frame.