XrmToolBox icon indicating copy to clipboard operation
XrmToolBox copied to clipboard

[BUG] Exception thrown - The Scintilla module has no export for the 'Scintilla_DirectFunction' procedure.

Open mark--stephenson opened this issue 2 years ago • 5 comments
trafficstars

Describe the bug When opening certain plugins, or using the code editor functionality in some plugins, I get an error. I initially raised this as an issue with "SQL4CDS", but I have also noticed the error in FetchXML builder, so thought I would raise the issue here in case it's more an issue with XrmToolBox than the individual plugins.

To Reproduce Open XrmToolBox, connect to Dynamics instance, open SQL 4 CDS

Expected behavior The error not to happen, and to be able to use the plugin.

Screenshots

************** Exception Text ************** System.ComponentModel.Win32Exception (0x80004005): The Scintilla module has no export for the 'Scintilla_DirectFunction' procedure.

Full exception output below.

Desktop (please complete the following information): SQL 4 CDS 7.6.0.0 XRM Toolbox 1.2023.9.66

Additional context

Exception Text System.ComponentModel.Win32Exception (0x80004005): The Scintilla module has no export for the 'Scintilla_DirectFunction' procedure. ---> System.ComponentModel.Win32Exception (0x80004005): The specified procedure could not be found at ScintillaNET.Scintilla.get_CreateParams() at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext) at ScintillaNET.Scintilla..ctor() at MarkMpn.Sql4Cds.XTB.SqlQueryControl.CreateEditor() at MarkMpn.Sql4Cds.XTB.SqlQueryControl.CreateSqlEditor() at MarkMpn.Sql4Cds.XTB.SqlQueryControl..ctor(ConnectionDetail con, IDictionary2 dataSources, TelemetryClient ai, Action1 showFetchXml, Action`1 log, PropertiesWindow properties) at MarkMpn.Sql4Cds.XTB.PluginControl.CreateQuery(ConnectionDetail con, String sql) at MarkMpn.Sql4Cds.XTB.PluginControl.PluginControl_Load(Object sender, EventArgs e) at System.Windows.Forms.UserControl.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies XrmToolBox Assembly Version: 1.2023.9.66 Win32 Version: 1.2023.9.66 CodeBase: file:///C:/Tools/XrmToolbox/XrmToolBox.exe

XrmToolBox.Extensibility Assembly Version: 1.2023.9.66 Win32 Version: 1.2023.9.66 CodeBase: file:///C:/Tools/XrmToolbox/XrmToolBox.Extensibility.DLL

NuGet.Common Assembly Version: 6.4.0.123 Win32 Version: 6.4.0.123 CodeBase: file:///C:/Tools/XrmToolbox/NuGet.Common.DLL

NuGet.Packaging Assembly Version: 6.4.0.123 Win32 Version: 6.4.0.123 CodeBase: file:///C:/Tools/XrmToolbox/NuGet.Packaging.DLL

NuGet.Protocol Assembly Version: 6.4.0.123 Win32 Version: 6.4.0.123 CodeBase: file:///C:/Tools/XrmToolbox/NuGet.Protocol.DLL

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.2.27524 CodeBase: file:///C:/Tools/XrmToolbox/Newtonsoft.Json.DLL

McTools.Xrm.Connection Assembly Version: 1.2023.6.56 Win32 Version: 1.2023.6.56 CodeBase: file:///C:/Tools/XrmToolbox/McTools.Xrm.Connection.DLL

McTools.Xrm.Connection.WinForms Assembly Version: 1.2023.6.56 Win32 Version: 1.2023.6.56 CodeBase: file:///C:/Tools/XrmToolbox/McTools.Xrm.Connection.WinForms.DLL

Microsoft.Xrm.Sdk Assembly Version: 9.0.0.0 Win32 Version: 9.2.49.3165 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Xrm.Sdk.DLL

Microsoft.Xrm.Sdk.Workflow Assembly Version: 9.0.0.0 Win32 Version: 9.2.49.665 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Xrm.Sdk.Workflow.DLL

Microsoft.Crm.Sdk.Proxy Assembly Version: 9.0.0.0 Win32 Version: 9.2.49.3165 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Crm.Sdk.Proxy.DLL

Microsoft.Xrm.Tooling.Connector Assembly Version: 4.0.0.0 Win32 Version: 4.0.0.155 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Xrm.Tooling.Connector.DLL

Microsoft.Xrm.Tooling.Ui.Styles Assembly Version: 4.0.0.0 Win32 Version: 4.0.0.155 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Xrm.Tooling.Ui.Styles.DLL

Microsoft.Xrm.Tooling.CrmConnectControl Assembly Version: 4.0.0.0 Win32 Version: 4.0.0.155 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.Xrm.Tooling.CrmConnectControl.DLL

Microsoft.IdentityModel.Clients.ActiveDirectory Assembly Version: 5.3.0.0 Win32 Version: 5.3.0.0 CodeBase: file:///C:/Tools/XrmToolbox/Microsoft.IdentityModel.Clients.ActiveDirectory.DLL

WeifenLuo.WinFormsUI.Docking Assembly Version: 3.0.6.0 Win32 Version: 3.0.6.0 CodeBase: file:///C:/Tools/XrmToolbox/WeifenLuo.WinFormsUI.Docking.DLL

WeifenLuo.WinFormsUI.Docking.ThemeVS2015 Assembly Version: 3.0.6.0 Win32 Version: 3.0.6.0 CodeBase: file:///C:/Tools/XrmToolbox/WeifenLuo.WinFormsUI.Docking.ThemeVS2015.DLL

ScintillaNET Assembly Version: 3.6.3.0 Win32 Version: 3.6.3.0 CodeBase: file:///C:/Tools/XrmToolbox/ScintillaNET.DLL

mark--stephenson avatar Oct 05 '23 14:10 mark--stephenson