SamSaffron/MiniProfiler

DbSpacial support

Opened this issue · 0 comments

My problem looks identical to this one on SO but it doesn't look like the OP ever reported the problem or got it fixed. We are using MiniProfiler on a system with spacial data and sometimes when loading something with spacials it fails with a ProviderIncompatibleException with the message "The provider did not return a DbSpatialServices instance". @SamSaffron pointed to it being a bug in MiniProfiler and indeed disabling MP stops the error while I'm working on spacial stuff. I don't have steps to repro at the moment but I'll see what I can do when I have a free stretch.