Unhandled thread exception caught. Exception while trying to create an instance of the Dynamics NAV integration pages