When I open the Sql Server, it is throwing an Error for Red Gate Sql Prompt

EdwinEdwin Posts: 2 New member
Error:
Exception has been thrown by the target of an invocation.

Log Details:
08 Aug 2018 23:05:39,196 [1] INFO  RedGate.SqlPrompt.Metadata.Logging.LogService - Starting new SQL Prompt 9.2.4.6028 editor session
08 Aug 2018 23:05:39,291 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - BaseConnect(RedGate.SQLPrompt.SsmsPackage.ConnectAdapter) constructed successfully
08 Aug 2018 23:05:39,378 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Initialising DTE and AddIn connections.
***
DTE.FullName = C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\Ssms.exe, DTE.Version = 2015.0130,
DTE.CommandLine = ,
***
AddIn.Name = SQL Prompt, AddIn.ProgID = RedGate.SQLPrompt.SsmsPackage.ConnectAdapter,
AddIn.Description = SQL Prompt
08 Aug 2018 23:05:39,380 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Current culture en-US
08 Aug 2018 23:05:39,384 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - AddIn.SatelliteDllPath = 
08 Aug 2018 23:05:39,788 [1] INFO  RedGate.SQLPrompt.CommonUI.Options.LicensingWrapper - Licensing client created
08 Aug 2018 23:05:40,801 [1] INFO  RedGate.SQLPrompt.CommonUI.Options.LicensingWrapper - License edition initially Full
08 Aug 2018 23:05:41,921 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - ctor started
08 Aug 2018 23:05:41,925 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - ctor complete
08 Aug 2018 23:05:42,209 [1] INFO  Format.Engine.Loader.StylesManager - Migrating Styles V1 to V2, trying SQL Prompt 7
08 Aug 2018 23:05:42,213 [1] INFO  Format.Engine.Loader.StylesManager - Not migrating styles V1 as old active style does not exist: C:\Users\edwin.jose\AppData\Local\Red Gate\SQL Prompt 7\RedGate_SqlPrompt_Format_Layout_LayoutOptions.xml
08 Aug 2018 23:05:42,217 [1] INFO  Format.Engine.Loader.StylesManager - Migrating Styles V1 to V2, trying SQL Prompt 6
08 Aug 2018 23:05:42,221 [1] INFO  Format.Engine.Loader.StylesManager - Not migrating styles V1 as old active style does not exist: C:\Users\edwin.jose\AppData\Local\Red Gate\SQL Prompt 6\RedGate_SqlPrompt_Format_Layout_LayoutOptions.xml
08 Aug 2018 23:05:42,225 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Did not migrate any V1 styles, leaving active style as default
08 Aug 2018 23:05:42,231 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Initialisation successful.
08 Aug 2018 23:05:42,282 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - Initialize started
08 Aug 2018 23:05:42,286 [1] INFO  RedGate.SQLQueryKeeper.Initialization - Connecting
08 Aug 2018 23:05:42,411 [1] INFO  RedGate.SQLQueryKeeper.MutexWrapper - Taking mutex for DocumentStore ctord9f86f57-c89b-4017-bfc3-f06e5e8e9a9a
08 Aug 2018 23:05:42,433 [1] INFO  RedGate.SQLQueryKeeper.MutexWrapper - Releasing mutex for DocumentStore ctord9f86f57-c89b-4017-bfc3-f06e5e8e9a9a
08 Aug 2018 23:05:42,440 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - Initialize complete
08 Aug 2018 23:05:42,444 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - OnConnection(ext_cm_AfterStartup)
08 Aug 2018 23:05:42,450 [1] INFO  RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Handling OnStartupComplete()
08 Aug 2018 23:05:42,558 [1] ERROR RedGate.SQLPrompt.CommonVS.BaseConnect.1 - Failed to set up UI
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Method 'get_TargetDatabaseEngineEdition' in type 'Microsoft.SqlServer.Management.UserSettings.ScriptingOptions' from assembly 'Microsoft.SqlServer.Management.UserSettings, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation.
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerToolWindow.OnCreate()
   at Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.CreateUIElementPane(Object& uiElement)
   at Microsoft.VisualStudio.Platform.WindowManagement.UIElementDocumentObject.Init(Boolean initSize)
   at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.InitializeDocumentObject(Object punkView)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(FrameMoniker frameMoniker, Boolean isDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Guid rguidCmdUI, ViewGroup parent, IVsWindowFrame& ppWindowFrame)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(String pszName, Int32 fDockViewOn, Int32 fDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, UInt32 dwToolWinId, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Int32& pfDefaultPosition, Guid& rguidCmdUI, IVsWindowFrame& ppWindowFrame)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateFrame(String moniker, UInt32 instanceID, IVsWindowFrame& frame)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.GetObjectExplorerWindowFrame()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.get_Tree()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at RedGate.SharedSSMS.Util.ReflectionUtils.GetPropertyValue[TInstance,TValue](TInstance instance, String property)
   at RedGate.SharedSSMS.VersionSpecific.ObjectExplorer2012Plus.HookUpEvents(DTE2 application)
   at RedGate.SQLPrompt.SsmsPackage.ConnectAdapter.ObjectExplorerHookUpEvents()
   at RedGate.SQLPrompt.SSMSUI.AbstractSsmsConnect.Startup()
   at RedGate.SQLPrompt.CommonVS.BaseConnect.<Extensibility.IDTExtensibility2.OnStartupComplete>b__74_0()
08 Aug 2018 23:05:42,581 [1] ERROR RedGate.SQLPrompt.CommonControls.Utils.ErrorDialog - Report error dialog UI shown
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Method 'get_TargetDatabaseEngineEdition' in type 'Microsoft.SqlServer.Management.UserSettings.ScriptingOptions' from assembly 'Microsoft.SqlServer.Management.UserSettings, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation.
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerToolWindow.OnCreate()
   at Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.CreateUIElementPane(Object& uiElement)
   at Microsoft.VisualStudio.Platform.WindowManagement.UIElementDocumentObject.Init(Boolean initSize)
   at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.InitializeDocumentObject(Object punkView)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(FrameMoniker frameMoniker, Boolean isDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Guid rguidCmdUI, ViewGroup parent, IVsWindowFrame& ppWindowFrame)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(String pszName, Int32 fDockViewOn, Int32 fDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, UInt32 dwToolWinId, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Int32& pfDefaultPosition, Guid& rguidCmdUI, IVsWindowFrame& ppWindowFrame)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateFrame(String moniker, UInt32 instanceID, IVsWindowFrame& frame)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.GetObjectExplorerWindowFrame()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.get_Tree()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at RedGate.SharedSSMS.Util.ReflectionUtils.GetPropertyValue[TInstance,TValue](TInstance instance, String property)
   at RedGate.SharedSSMS.VersionSpecific.ObjectExplorer2012Plus.HookUpEvents(DTE2 application)
   at RedGate.SQLPrompt.SsmsPackage.ConnectAdapter.ObjectExplorerHookUpEvents()
   at RedGate.SQLPrompt.SSMSUI.AbstractSsmsConnect.Startup()
   at RedGate.SQLPrompt.CommonVS.BaseConnect.<Extensibility.IDTExtensibility2.OnStartupComplete>b__74_0()
   at RedGate.SQLPrompt.CommonControls.Utils.ErrorDialog.Do(Action action)
08 Aug 2018 23:05:54,704 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - OnStartupComplete started
08 Aug 2018 23:05:54,709 [1] INFO  RedGate.SQLQueryKeeper.Initialization - OnShellInitialized
08 Aug 2018 23:05:54,713 [1] INFO  RedGate.SQLQueryKeeper.MutexWrapper - Taking mutex for Reload open tabscc866bf1-a6c6-4c2f-a7a0-088193d17017
08 Aug 2018 23:05:54,765 [1] INFO  RedGate.SQLQueryKeeper.MutexWrapper - Releasing mutex for Reload open tabscc866bf1-a6c6-4c2f-a7a0-088193d17017
08 Aug 2018 23:05:54,828 [1] INFO  RedGate.SQLQueryKeeper.TabWatcher - Trying to open document: SQLQuery1.sql
08 Aug 2018 23:05:56,674 [1] INFO  RedGate.SQLQueryKeeper.TabWatcher - Document opened
08 Aug 2018 23:05:56,876 [1] INFO  RedGate.SQLQueryKeeper.TabMagicConnect2016 - OnStartupComplete complete
08 Aug 2018 23:06:02,574 [1] INFO  RedGate.SQLPrompt.UsageReporting.Raygun.RaygunReportingService - Exception report ('Exception has been thrown by the target of an invocation.') processed.

Tagged:

Best Answer

Answers

Sign In or Register to comment.