Releases 565 & 566 crash Primalscript if I try to run "hello world" within the editor. I have reverted to 564 since it at least doesn't crash when I try to run a PoSH script. I have reproduced it on multiple W2K3 servers. Works fine on Windows XP, though.
[Reply from Alex Riedel]
Can you provide a little more detail? Our test servers run PowerShell scripts fine, so we need some more information on your environment.
What exactly constitutes a "Hello World" script in your case? When exactly does the crash occur? Before output, after output? Are these W2K3 servers 64 or 32 bit?
When you say it runs fine on XP, did you compare what exact PowerShell versions and build numbers you run?
Did you by any chance install a PowerShell 2 CTP on any of these servers?
Please post this information in a new thread, so that we can keep issues separated.
Thanks,
Alex
[Information new in this post]
I can reproduce this on x86 and x64 OS builds. I have not installed any PoSH V2 CTP versions.
The entire script content is:
When using the Run Script [F7 or menu] option from within the IDE (build 4.5.566), the output window appears and there is a long pause where the IDE becomes unresponsive. After a few moments, the GUI disappears. Primalscript.exe sometimes exists, sometimes remains in the process list and has to be terminated manually."Hello World"
The environment has not changed (except for the build of PrimalScript) from the one posted at http://www.sapien.com/forums/viewtopic. ... t=20#p9176]
PrimalScript 2007 Enterprise v4.5.566
OS Name Microsoft(R) Windows(R) Server 2003 Enterprise x64 Edition; Version = "5.2.3790.1830 (srv03_sp1_rtm.050324-1447)
PowerShell version is 6.0.5429.0"
Execution policy is set to RemoteSigned in both the x32 and x64 versions of PowerShell
NetFX versions are v1.1.4322 & v2.0.50727
NetFX x64 version is v2.0.50727
PoSH environment on Server 2003 Enterprise x64
Windows XP version is "5.1.2600.2765 (xpsp.050928-1517)".Name : Microsoft.PowerShell.Core
IsDefault : True
ApplicationBase : C:WINDOWSsyswow64WindowsPowerShellv1.0
AssemblyName : System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad
364e35, ProcessorArchitecture=MSIL
ModuleName : C:WINDOWSsyswow64WindowsPowerShellv1.0System.Management.Automation.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {types.ps1xml}
Formats : {Certificate.format.ps1xml, DotNetTypes.format.ps1xml, FileSystem.format.ps1xml, Help.for
mat.ps1xml...}
Description : This Windows PowerShell snap-in contains Windows PowerShell management cmdlets used to ma
nage components of Windows PowerShell.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Host
IsDefault : True
ApplicationBase : C:WINDOWSsyswow64WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.ConsoleHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf38
56ad364e35, ProcessorArchitecture=MSIL
ModuleName : C:WINDOWSsyswow64WindowsPowerShellv1.0Microsoft.PowerShell.ConsoleHost.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains cmdlets used by the Windows PowerShell host.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Management
IsDefault : True
ApplicationBase : C:WINDOWSsyswow64WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Commands.Management, Version=1.0.0.0, Culture=neutral, PublicKeyToke
n=31bf3856ad364e35, ProcessorArchitecture=MSIL
ModuleName : C:WINDOWSsyswow64WindowsPowerShellv1.0Microsoft.PowerShell.Commands.Management.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains management cmdlets used to manage Windows compon
ents.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Security
IsDefault : True
ApplicationBase : C:WINDOWSsyswow64WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Security, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856a
d364e35, ProcessorArchitecture=MSIL
ModuleName : C:WINDOWSsyswow64WindowsPowerShellv1.0Microsoft.PowerShell.Security.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Utility
IsDefault : True
ApplicationBase : C:WINDOWSsyswow64WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Commands.Utility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3
1bf3856ad364e35, ProcessorArchitecture=MSIL
ModuleName : C:WINDOWSsyswow64WindowsPowerShellv1.0Microsoft.PowerShell.Commands.Utility.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains utility Cmdlets used to manipulate data.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Pscx
IsDefault : False
ApplicationBase : C:Program Files (x86)PowerShell Community Extensions
AssemblyName : Pscx, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
ModuleName : C:Program Files (x86)PowerShell Community ExtensionsPscx.dll
PSVersion : 1.0
Version : 1.1.1.0
Types : {TypeDataDateTime.ps1xml, TypeDataDirectoryServices.ps1xml, TypeDataFeedStore.ps1xml,
TypeDataFileSystem.ps1xml...}
Formats : {FormatDataDirectoryServices.ps1xml, FormatDataPingHost.ps1xml, FormatDataPscx.ps1xml,
FormatDataTerminalServices.ps1xml}
Description : PowerShell Community Extensions (PSCX) base snapin which implements a general purpose set
of cmdlets.
Vendor : PowerShell Community Developers
LogPipelineExecutionDetails : False
PoSH environment on XP:
Windows XP version is "5.1.2600.2765 (xpsp.050928-1517)".Name : Microsoft.PowerShell.Core
IsDefault : True
ApplicationBase : C:WINDOWSsystem32WindowsPowerShellv1.0
AssemblyName : System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=
MSIL
ModuleName : C:WINDOWSsystem32WindowsPowerShellv1.0System.Management.Automation.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {types.ps1xml}
Formats : {Certificate.format.ps1xml, DotNetTypes.format.ps1xml, FileSystem.format.ps1xml, Help.format.ps1xml...}
Description : This Windows PowerShell snap-in contains Windows PowerShell management cmdlets used to manage components of Windows Pow
erShell.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Host
IsDefault : True
ApplicationBase : C:WINDOWSsystem32WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.ConsoleHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitect
ure=MSIL
ModuleName : C:WINDOWSsystem32WindowsPowerShellv1.0Microsoft.PowerShell.ConsoleHost.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains cmdlets used by the Windows PowerShell host.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Management
IsDefault : True
ApplicationBase : C:WINDOWSsystem32WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Commands.Management, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorA
rchitecture=MSIL
ModuleName : C:WINDOWSsystem32WindowsPowerShellv1.0Microsoft.PowerShell.Commands.Management.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains management cmdlets used to manage Windows components.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Security
IsDefault : True
ApplicationBase : C:WINDOWSsystem32WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Security, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture
=MSIL
ModuleName : C:WINDOWSsystem32WindowsPowerShellv1.0Microsoft.PowerShell.Security.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : Microsoft.PowerShell.Utility
IsDefault : True
ApplicationBase : C:WINDOWSsystem32WindowsPowerShellv1.0
AssemblyName : Microsoft.PowerShell.Commands.Utility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArch
itecture=MSIL
ModuleName : C:WINDOWSsystem32WindowsPowerShellv1.0Microsoft.PowerShell.Commands.Utility.dll
PSVersion : 1.0
Version : 1.0.0.0
Types : {}
Formats : {}
Description : This Windows PowerShell snap-in contains utility Cmdlets used to manipulate data.
Vendor : Microsoft Corporation
LogPipelineExecutionDetails : False
Name : NetCmdlets
IsDefault : False
ApplicationBase : C:Program FilesnsoftwareNetCmdlets
AssemblyName : nsoftware.NetCmdlets.Commands, Version=1.0.3022.0, Culture=neutral, PublicKeyToken=cdc168f89cffe9cf
ModuleName : C:Program FilesnsoftwareNetCmdletsnsoftware.NetCmdlets.Commands.dll
PSVersion : 1.0
Version : 1.0.3022.0
Types : {}
Formats : {}
Description : /n software NetCmdlets
Vendor : /n software inc.
LogPipelineExecutionDetails : False
Name : Pscx
IsDefault : False
ApplicationBase : C:Program FilesPowerShell Community Extensions
AssemblyName : Pscx, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
ModuleName : C:Program FilesPowerShell Community ExtensionsPscx.dll
PSVersion : 1.0
Version : 1.1.1.0
Types : {TypeDataDateTime.ps1xml, TypeDataDirectoryServices.ps1xml, TypeDataFeedStore.ps1xml, TypeDataFileSystem.ps1xml...}
Formats : {FormatDataDirectoryServices.ps1xml, FormatDataPingHost.ps1xml, FormatDataPscx.ps1xml, FormatDataTerminalServices.p
s1xml}
Description : PowerShell Community Extensions (PSCX) base snapin which implements a general purpose set of cmdlets.
Vendor : PowerShell Community Developers
LogPipelineExecutionDetails : False
Name : PshX-SAPIEN
IsDefault : False
ApplicationBase : C:ScriptsPowerShelldownloadsPSCX
AssemblyName : PshX-SAPIEN, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
ModuleName : C:ScriptsPowerShelldownloadsPSCXpshx-sapien.dll
PSVersion : 1.0
Version : 1.2.0.0
Types : {}
Formats : {}
Description : SAPIEN Extensions for PowerShell adds several cmdlets for working with databases and for use in logon scripts.
Vendor : SAPIEN Technologies, Inc.
LogPipelineExecutionDetails : False
PoSH environment on XP: