Hello,
I have installed the dynamics connector for AX, but when I tried to configure the CRM 2011 adapter settings, the 'Object reference not set to an instance of an object' error occurs. The error occurs when I click ‘ Apply’ button. I also have attached the error log. The following is the log from the Integration Client .log:
ERROR TID:1 [2013-01-15T17:01:38.4115307+07:00]: Unhandled exception. This may indicate a problem with the application but may not be fatal.
--- Exception Dump ---
Caught Exception: Object reference not set to an instance of an object.
Stack trace:
at System.Object.GetType()
at Microsoft.Dynamics.Integration.DataAccessLayer.DbAdapter.SetAdapter(AdapterProxy adapter)
at Microsoft.Dynamics.Integration.DataAccessLayer.AdapterBusinessObject.SetAdapter(AdapterProxy adapter)
at Microsoft.Dynamics.Integration.Client.Core.ViewModel.DbAdapterSettingsViewModel.OnSave()
at Microsoft.Dynamics.Integration.Client.Core.DelegateCommand.Execute()
at Microsoft.Dynamics.Integration.Client.Core.ViewModel.AdaptersActivationViewModel.OnSave()
at Microsoft.Dynamics.Integration.Client.Core.DelegateCommand.Execute()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Thanks