Version 5.2.127.0 will not launch as regular user

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 7 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
drew2000
Posts: 2
Last visit: Thu Jan 17, 2019 12:13 pm

Version 5.2.127.0 will not launch as regular user

Post by drew2000 »

Product, version and build: PowerShell Studio 5.2.127.0
32 or 64 bit version of product: 64 bit
Operating system: Windows 7 Professional
32 or 64 bit OS: 64 bit
PowerShell Version: 5.0.10586.117

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

When I attempt to launch the application either from the Start Menu or context menu of a file the GUI will not finish loading and I receive a Microsoft .NET Framework error when I attempt to close the application by End Task


Full Text of the error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.XtraBars.Docking.AutoHideContainer.get_IsHorizontal()
at DevExpress.XtraBars.Docking.AutoHideContainer.UpdateSize()
at DevExpress.XtraBars.Docking.AutoHideContainer.set_ContainerSize(Int32 value)
at DevExpress.XtraBars.Docking.AutoHideContainerCollection.LayoutChanged()
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.OnLayoutInfoAutoHideChanged(LayoutInfo info)
at DevExpress.XtraBars.Docking.Helpers.LayoutInfo.OnDisposing()
at DevExpress.XtraBars.Docking.Helpers.DockLayout.OnDisposing()
at DevExpress.XtraBars.Docking.Helpers.LayoutInfo.Dispose()
at DevExpress.XtraBars.Docking.DockPanel.DisposeCore()
at DevExpress.XtraBars.Docking.ZIndexControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at DevExpress.XtraBars.Docking.ZIndexControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.UpdateAutoHideContainersCollection()
at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.OnLayoutInfoAutoHideChanged(LayoutInfo info)
at DevExpress.XtraBars.Docking.Helpers.LayoutInfo.OnDisposing()
at DevExpress.XtraBars.Docking.Helpers.DockLayout.OnDisposing()
at DevExpress.XtraBars.Docking.Helpers.LayoutInfo.Dispose()
at DevExpress.XtraBars.Docking.DockPanel.DisposeCore()
at DevExpress.XtraBars.Docking.ZIndexControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at DevExpress.XtraBars.Docking.ZIndexControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at DevExpress.XtraBars.Docking.DockManager.Clear()
at DevExpress.XtraBars.Docking.DockManager.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.ComponentModel.Container.Dispose(Boolean disposing)
at System.ComponentModel.Container.Dispose()
at ..(Boolean )
at System.Windows.Forms.Form.WmClose(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at ..(Message& )
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PowerShell Studio
Assembly Version: 5.2.127.0
Win32 Version: 5.2.127.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/PowerShell%20Studio.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DevExpress.XtraBars.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.XtraBars.v15.2.DLL
----------------------------------------
DevExpress.Utils.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.Utils.v15.2.DLL
----------------------------------------
DevExpress.XtraEditors.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.XtraEditors.v15.2.DLL
----------------------------------------
DevExpress.XtraGrid.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.XtraGrid.v15.2.DLL
----------------------------------------
DevExpress.Data.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.Data.v15.2.DLL
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/Microsoft.WindowsAPICodePack.Shell.DLL
----------------------------------------
DevExpress.XtraTreeList.v15.2
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.XtraTreeList.v15.2.DLL
----------------------------------------
ActiproSoftware.SyntaxEditor.WinForms
Assembly Version: 14.1.324.0
Win32 Version: 14.1.324.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ActiproSoftware.SyntaxEditor.WinForms/14.1.324.0__c27e062d3c1a4763/ActiproSoftware.SyntaxEditor.WinForms.dll
----------------------------------------
ActiproSoftware.Shared.WinForms
Assembly Version: 14.1.324.0
Win32 Version: 14.1.324.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ActiproSoftware.Shared.WinForms/14.1.324.0__c27e062d3c1a4763/ActiproSoftware.Shared.WinForms.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1067.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.6.118.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
PSSyntaxCheckV3
Assembly Version: 1.3.5.0
Win32 Version: 1.3.5.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/PSSyntaxCheckV3.DLL
----------------------------------------
PSSyntaxCheck
Assembly Version: 1.0.3.0
Win32 Version: 1.0.3.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/PSSyntaxCheck.DLL
----------------------------------------
PrimalSQL.Common
Assembly Version: 1.1.8.0
Win32 Version: 1.1.8.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/PrimalSQL.Common.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
{b6bf1277-cf2a-462c-b97e-280b39bfa23c}
Assembly Version: 0.0.0.0
Win32 Version: 5.2.127.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/PowerShell%20Studio.exe
----------------------------------------
System.Data.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
----------------------------------------
DevExpress.Printing.v15.2.Core
Assembly Version: 15.2.10.0
Win32 Version: 15.2.10.0
CodeBase: file:///C:/Program%20Files/SAPIEN%20Technologies,%20Inc/PowerShell%20Studio%202016/DevExpress.Printing.v15.2.Core.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1082.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
UIAutomationClient
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.6.103.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------

************** 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 debugging
enabled.

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.
Attachments
Screen Shot
Screen Shot
PowerShellStudioError.jpg (184.94 KiB) Viewed 1460 times
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: Version 5.2.127.0 will not launch as regular user

Post by DevinL »

The first step to try in this situation is to delete the LayoutState.xml that is located in the C:\Users\<User>\AppData\Roaming\SAPIEN\PowerShell Studio 2016 directory.

After deleting this file, attempt to restart PowerShell Studio and see if that solves your problem.
DevinL
SAPIEN Technologies, Inc.
User avatar
drew2000
Posts: 2
Last visit: Thu Jan 17, 2019 12:13 pm

Re: Version 5.2.127.0 will not launch as regular user

Post by drew2000 »

This resolved it for me, thanks!
This topic is 7 years and 7 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.