Dynamics crm CRM 2013插件注册连接错误:无法连接到CRM组织

Dynamics crm CRM 2013插件注册连接错误:无法连接到CRM组织,dynamics-crm,dynamics-crm-2013,dynamics-crm-online,Dynamics Crm,Dynamics Crm 2013,Dynamics Crm Online,我正在CRM SDK 2013中使用插件注册工具。在创建与CRM 2013 Online的新连接时,我遇到错误:无法连接到CRM组织。详情如下: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Xrm.Tooling.CrmConnectControl.CrmServerLoginControl.Sta

我正在CRM SDK 2013中使用插件注册工具。在创建与CRM 2013 Online的新连接时,我遇到错误:无法连接到CRM组织。详情如下:

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmServerLoginControl.StartConnectCheck()
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at Microsoft.Crm.Tools.PluginRegistration.MainViewModel.CreateConnections()
即使单击“不使用用户名和密码登录”,也会显示此错误

我试图删除C:\Users\\LiveDeviceID文件夹中的LiveDevice.xml和LiveDeviceID.xml,但没有用

欢迎提出任何想法或解决方法。提前谢谢


更新:我在SDK 2011中尝试了注册工具,不知怎的,它可以成功连接。但是,由于datacontract解析,我无法调试插件,我只能注册/注销插件。

我的插件注册工具也有类似问题。。。升级到最新版本对我很有用


我的插件注册工具也有类似的问题。。。升级到最新版本对我很有用


错误消息特定于找不到您要连接的组织。请在“设置>自定义设置>开发人员资源”下使用CRM online实例的发现URL进行双重检查


对于CRM Online 2013,错误消息可能是,而不是。错误消息特定于找不到您要连接的组织。请在“设置>自定义设置>开发人员资源”下使用CRM online实例的发现URL进行双重检查


对于CRM Online 2013,它将是而不是

好的。我在pluginregistration工具日志文件中遇到拒绝访问错误时,通过删除以下AppData文件夹来实现这一点。C:\Users{username}\AppData\Roaming\Microsoft\PluginRegistration.

好的,当我在PluginRegistration工具日志文件中遇到拒绝访问错误时,我删除了下面的AppData文件夹,从而实现了这一点。C:\Users{username}\AppData\Roaming\Microsoft\PluginRegistration.

谢谢。我像你说的那样下载了一个新的SDK,但是仍然出现相同的错误:-谢谢。我像你说的那样下载了一个新的SDK,但是仍然出现相同的错误:-谢谢。这可能会解决问题。现在我将继续使用CRM 2015,新的注册工具运行良好。谢谢。这可能会解决问题。现在,我将继续使用CRM 2015,新的注册工具运行良好。