Solved

Unhandled exception when opening presentation mode

If I open the presentation mode from the diagram browser (without having any open diagrams) I get this unhandled exception:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length

at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

at BizAgi.PM.UI.FrmModelerBase.SaveFormState(Form targetForm)

at BizAgi.PM.UI.FrmModelerBase.TogglePresentationMode()

at BizAgi.PM.UI.FrmModelerBase.ExecuteToolBarCommand(String sCommand, Object sender)

at BizAgi.PM.UI.FrmModelerBase.OnToolbarElementClick(Object sender, EventArgs e)

at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)

at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.GenericItemContainer.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.Bar.OnMouseUp(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at DevComponents.DotNetBar.Bar.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.3623 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------BizagiProcessModeler

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgiProcessModeler.exe

----------------------------------------BizAgi.PM.UI

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.UI.DLL

----------------------------------------BizAgi.PM.BusinessLogic

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.BusinessLogic.DLL

----------------------------------------System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3623 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3620 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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

----------------------------------------BizAgi.PM.Persistence

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.Persistence.DLL

----------------------------------------DDay.Update

Assembly Version: 0.5.2.0

Win32 Version: 0.5.2.0

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/DDay.Update.DLL

----------------------------------------BizAgi.PM.Resources

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.Resources.DLL

----------------------------------------BizAgi.PM.UI.Controls

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.UI.Controls.DLL

----------------------------------------DevComponents.DotNetBar2

Assembly Version: 8.8.0.3

Win32 Version: 8.8.0.3

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/DevComponents.DotNetBar2.DLL

----------------------------------------BizAgi.PM.BusinessEntities

Assembly Version: 2.3.0.5

Win32 Version: 2.3.0.5

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/BizAgi.PM.BusinessEntities.DLL

----------------------------------------Infralution.Licensing

Assembly Version: 4.4.1.0

Win32 Version: 4.4.1.0

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infralution.Licensing.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

----------------------------------------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

----------------------------------------Infragistics2.Win.UltraWinToolbars.v7.3

Assembly Version: 7.3.20073.1053

Win32 Version: 7.3.20073.1053

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infragistics2.Win.UltraWinToolbars.v7.3.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

----------------------------------------Infragistics2.Win.UltraWinListView.v7.3

Assembly Version: 7.3.20073.1053

Win32 Version: 7.3.20073.1053

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infragistics2.Win.UltraWinListView.v7.3.DLL

----------------------------------------Infragistics2.Win.v7.3

Assembly Version: 7.3.20073.1053

Win32 Version: 7.3.20073.1053

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infragistics2.Win.v7.3.DLL

----------------------------------------Infragistics2.Shared.v7.3

Assembly Version: 7.3.20073.1053

Win32 Version: 7.3.20073.1053

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infragistics2.Shared.v7.3.DLL

----------------------------------------Infragistics2.Win.Misc.v7.3

Assembly Version: 7.3.20073.1053

Win32 Version: 7.3.20073.1053

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Infragistics2.Win.Misc.v7.3.DLL

----------------------------------------Crainiate.ERM4

Assembly Version: 4.1.3166.31192

Win32 Version: 4.1.3166.31192

CodeBase: file:///C:/Program%20Files/Bizagi/Bizagi%20Process%20Modeler/Crainiate.ERM4.DLL

----------------------------------------Infragistics2.Win.UltraWinEditors.v7.3

...

...

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging 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 exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Best Answer
photo

Dear Paul,

We are glad to hear this issue has been solved.

Best regards,

photo
0

Hi Dennis,

Yes, this was happening when launching the presentation mode.

The error message you are reporting is different and has a current workaround.

To solve this through the workaround please do the following:

1. Manually create a directory in your machine called IsolatedStorage.

Notice that this path is hidden by default, and that while in Windows 7, Windows Vista or Windows 2008 OS, this path should be set both at:

  • C:\Users\[user]\AppData\Roaming\IsolatedStorage
  • C:\Users\[user]\AppData\Local\IsolatedStorage

For Windows XP or Windows 2003 OS, this path would be set both at:

  • C:\Documents and Settings\[user]\Local Settings\Application Data\IsolatedStorage\
  • C:\Documents and Settings\[user]\Application Data\IsolatedStorage\

2. Finally, give write access to that folder.

Best regards,

photo
0

Hi,

I'm having problemas with the action "Run Workflow".

Everytime I select it, appears the message that I'm sending and only works with Internet Explorer, never with google chrome.

I already have the new version, what can I do?

photo
0

Dear Amanda de Alburquerque,

This topic is related to suite. Please note that this forum is focused on treating specifically Bizagi Process Modeler and its features, bugs, compliments or suggested ideas. In order to follow up this post, please check out at: http://feedback.bizagi.com/suite/en/responses/problemas-with-the-run-actions-in-bizagi-studio" rel="nofollow" target="_blank">http://feedback.bizagi.com/suite/en/responses/problemas-with-the-run-actions-in-bizagi-studio&usd=2&usg=ALhdy2_YJS9PX9JQBqEHZOZyrgyf7PgwYw">http://feedback.bizagi.com/suite/en/responses/problemas-with-the-run-actions-in-bizagi-studio

Thank you for your effort and understanding.