I'm using Microsoft Dynamics® CRM 2013 Service Pack 1 (SP1) (6.1.1.132) (DB 6.1.1.132)

After connecting the Registration Tool, following this steps.

Plugin Registration Tool >> Plugin >> Step(double click)

When i hit the [...] button its crush.

I think its about MetaData Service. Because when try to open Metadata browser, its pops up error too.

Entity Metadata Browser: Error Code:-2147220970 Message: An unexpected error occurred.

Metadata Browser: Error Code:-2147204733 Message: Unable to evaluate query



Browser's log

xrmservices/2011/organization.svc/web failed 500 (internal server error)

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">Unable to evaluate query</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ErrorCode>-2147204733</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>CallStack</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)&#xD;
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)&#xD;
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)&#xD;
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)&#xD;
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)&#xD;
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)&#xD;
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)&#xD;
   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>Unable to evaluate query</Message><Timestamp>2017-06-12T13:48:29.2264758Z</Timestamp><InnerFault><ErrorCode>-2147204733</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>CallStack</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at Microsoft.Crm.Sdk.Metadata.MetadataServiceProvider.RetrieveMetadataChanges(EntityQueryExpression queryExpression, Nullable`1 filters, String clientVersionStamp, ExecutionContext context, String&amp; serverVersionStamp, DeletedMetadataCollection&amp; deletedMetadata)</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>Unable to evaluate query</Message><Timestamp>2017-06-12T13:48:29.2264758Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>CallStack</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at Microsoft.Crm.Sdk.Metadata.EntityConverter.ToXrmEntityMetadata(EntityMetadata crmEntityMetadata, MetadataConversionContext conversionContext)&#xD;
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xD;
   at Microsoft.Crm.Sdk.Metadata.MetadataServiceProvider.RetrieveMetadataChanges(EntityQueryExpression queryExpression, Nullable`1 filters, String clientVersionStamp, ExecutionContext context, String&amp; serverVersionStamp, DeletedMetadataCollection&amp; deletedMetadata)</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>System.TypeInitializationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #73C5A9B3</Message><Timestamp>2017-06-12T13:48:29.2264758Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>CallStack</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at Microsoft.Crm.MetadataService.Sdk.TypeMaps.PlatformToXrmEntityMetadataTypeMap.InitializeMap()&#xD;
   at Microsoft.Crm.MetadataService.Sdk.TypeMaps.PlatformToXrmEntityMetadataTypeMap..cctor()</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>System.MissingMethodException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #45264E4A</Message><Timestamp>2017-06-12T13:48:29.2275018Z</Timestamp><InnerFault i:nil="true"/><TraceText i:nil="true"/></InnerFault><TraceText i:nil="true"/></InnerFault><TraceText i:nil="true"/></InnerFault><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>


Here my Event Logs,

1) Application Error

Faulting application name: PluginRegistration.exe, version: 6.1.0.519, time stamp: 0x5367f521
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18666, time stamp: 0x58f33794
Exception code: 0xe0434352
Fault offset: 0x00000000000095fc
Faulting process id: 0x150c
Faulting application start time: 0x01d2e10c71f17a5b
Faulting application path: E:\Binovist\Setup\MSCRM2013SDK6.1\SDK\Tools\PluginRegistration\PluginRegistration.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: cd4a09ca-4cff-11e7-8129-0050568345e5
Faulting package full name: 
Faulting package-relative application ID:


2) .NET Runtime

Application: PluginRegistration.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
at System.Windows.Interactivity.TriggerBase.InvokeActions(System.Object)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.Controls.Control.HandleDoubleClick(System.Object, System.Windows.Input.MouseButtonEventArgs)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at Microsoft.Crm.Tools.PluginRegistration.App.Main()


When i used old version of Plugin Registration Tool, its pops up another Error:

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault). 

mscorlib Assembly Version: 4.0.0.0


Thanks for Advice