PrimalForms 2011 debug exception

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
espiman
Posts: 29
Last visit: Thu Jul 30, 2015 11:36 am

PrimalForms 2011 debug exception

Post by espiman »

Hi.I have been created a new form with basic commands, and one variable.When i click in the variables panel, i get this exception:and the exception text is:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.InvalidOperationException: Visual Styles-related operation resulted in an error because no visual style is currently active. at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part) at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsElementDefined(VisualStyleElement element) at ..DrawContent(Graphics grph, Rectangle bounds, String strData) at BCGSoft.Controls.Grid.Cell.DrawContent(Graphics grph, Rectangle bounds) at BCGSoft.Controls.Grid.GridControl.OnDrawGridCellData(Graphics grph, Cell cell, Boolean calcOnly) at BCGSoft.Controls.Grid.GridControl.DrawCellsData(Graphics grph, Rectangle rectGridArea, ArrayList cells, Rectangle rectPreviewText, Rectangle rectPreviewBack) at BCGSoft.Controls.Grid.GridControl.OnDrawGridArea(Graphics grph, Rectangle bounds, Rectangle clip) at BCGSoft.Controls.Grid.GridControl.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at BCGSoft.Controls.Grid.GridControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3620 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------PrimalForms Assembly Version: 2.0.12.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3614 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------ActiveDatabaseSoftware.ActiveQueryBuilder Assembly Version: 1.15.2.317 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------Interop.SAPIENConsoleLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/Interop.SAPIENConsoleLib.DLL----------------------------------------PWSHHelpCtrl4 Assembly Version: 4.0.21.0 Win32 Version: 4.0.21.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PWSHHelpCtrl4.DLL----------------------------------------LogicNP.FileView Assembly Version: 12.0.0.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------BCGSoft.Controls.Grid Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Controls.Grid.DLL----------------------------------------BCGSoft.Controls.Shared Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Controls.Shared.DLL----------------------------------------System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll----------------------------------------BCGSoft.ControlBars Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.ControlBars.DLL----------------------------------------BCGSoft.Visualization Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Visualization.DLL----------------------------------------BCGSoft.Shared Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Shared.DLL----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------BCGSoft.Controls.TabStrip Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Controls.TabStrip.DLL----------------------------------------ActiproSoftware.SyntaxEditor.Net20 Assembly Version: 4.0.289.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------ActiproSoftware.Shared.Net20 Assembly Version: 1.0.104.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------ActiproSoftware.WinUICore.Net20 Assembly Version: 1.0.104.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3618 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll----------------------------------------System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.1 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll----------------------------------------Npgsql Assembly Version: 2.0.6.0 Win32 Version: 2.0.6.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/Npgsql.DLL----------------------------------------System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50
a3a/System.Management.dll----------------------------------------MySql.Data Assembly Version: 6.3.6.0 Win32 Version: 6.3.6.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/MySql.Data.DLL----------------------------------------System.Data.OracleClient Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data.OracleClient/2.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll----------------------------------------BCGSoft.ControlBars.Ribbon Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.ControlBars.Ribbon.DLL----------------------------------------BCGSoft.Design.Shared Assembly Version: 5.0.10000.0 Win32 Version: 5.0.10000.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Design.Shared.DLL----------------------------------------{eec43cbd-3c61-4ada-a498-a448b17e2d3f} Assembly Version: 0.0.0.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------LogicNP.ShComboBox Assembly Version: 12.0.0.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------LogicNP.FolderView Assembly Version: 12.0.0.0 Win32 Version: 2.0.12.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/PrimalForms.exe----------------------------------------BCGSoft.Controls.BackstageView Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Controls.BackstageView.DLL----------------------------------------BCGSoft.Shared.LicManager Assembly Version: 5.0.10000.0 Win32 Version: CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Shared.LicManager.DLL----------------------------------------BCGSoft.Shared.Localization Assembly Version: 5.0.10000.0 Win32 Version: 5.0.10000.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Shared.Localization.DLL----------------------------------------BCGSoft.Visualization.Style.Obsidian Assembly Version: 5.0.10000.0 Win32 Version: 5.0.10000.0 CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PrimalForms%202011/BCGSoft.Visualization.Style.Obsidian.DLL----------------------------------------System.Runtime.Serialization.Formatters.Soap Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll----------------------------------------System.Management.Automation Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management.Automation/1.0.0.0__31bf3856ad364e35/System.Management.Automation.dll----------------------------------------Microsoft.PowerShell.Commands.Diagnostics Assembly Version: 1.0.0.0 Win32 Version: 6.1.7600.16385 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/1.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll----------------------------------------System.Configuration.Install Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration.Install/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll----------------------------------------Microsoft.WSMan.Management Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.WSMan.Management/1.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll----------------------------------------System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll----------------------------------------Microsoft.PowerShell.Commands.Utility Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/1.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll----------------------------------------Microsoft.PowerShell.ConsoleHost Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/1.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll----------------------------------------Microsoft.PowerShell.Commands.Management Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/1.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll----------------------------------------Microsoft.PowerShell.Security Assembly Version: 1.0.0.0 Win32 Version: 6.0.6002.18111 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.PowerShell.Security/1.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll----------------------------------------System.DirectoryServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll----------------------------------------PresentationCore Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.1427 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll----------------------------------------WindowsBase Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.1427 built by: SP CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------System.Drawing.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registe
red on the computerrather than be handled by this dialog box.Thanks in advance.Regards
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalForms 2011 debug exception

Post by davidc »

What OS are you running and what version of PrimalForms 2011 do you have installed? Thank you, David
David
SAPIEN Technologies, Inc.
User avatar
espiman
Posts: 29
Last visit: Thu Jul 30, 2015 11:36 am

PrimalForms 2011 debug exception

Post by espiman »

Windows Server 2003 SP2 and the latest version of PrimalForms 2011Thanks
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalForms 2011 debug exception

Post by davidc »

I was able
to confirm the issue and we are looking into resolving it.David
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalForms 2011 debug exception

Post by davidc »

This issue will be resolved in the next service release. In the mean time you can enable the "XP Visual Style" theme in Windows 2003 and that should prevent the error. The setting should be located at Control Panel->Display Settings. David
David
SAPIEN Technologies, Inc.
User avatar
espiman
Posts: 29
Last visit: Thu Jul 30, 2015 11:36 am

PrimalForms 2011 debug exception

Post by espiman »

Thank you, its ok.Other problem, in a new blanck project, the variable panel show all variables , and if i put the cursor over variable in the debug mode, show the value inmediatly, but in my project, with 2000 code lines, the variables panel and cursor info takes more than 1 minute. ¿Its normal?Thanks again.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalForms 2011 debug exception

Post by davidc »

Can you send the project to support@sapien.com so that we can test it on our end? Does the variable panel take a long time to load as well? David
David
SAPIEN Technologies, Inc.
User avatar
espiman
Posts: 29
Last visit: Thu Jul 30, 2015 11:36 am

PrimalForms 2011 debug exception

Post by espiman »

davidc, i send the project.Thanks.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalForms 2011 debug exception

Post by davidc »

We are looking into the issue.
David
SAPIEN Technologies, Inc.
User avatar
espiman
Posts: 29
Last visit: Thu Jul 30, 2015 11:36 am

PrimalForms 2011 debug exception

Post by espiman »

Thanks.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.