Powershell Connection Creation Fails with 'Powershell Connection Exception, possible reasons include malformed config file'

Powershell Connection Creation Fails with 'Powershell Connection Exception, possible reasons include malformed config file'

Symptoms:

On the Inventory Beacon UI, when trying to create a new Powershell Connection (e.g. O365, AWS, Salesforce), we see the following error message being thrown:

System.Exception: PowerShell connection exception, possible reasons include malformed config file.
   at ManageSoft.Compliance.Beacon.Controls.DialogSavePowerShellConnection.connectionTypeComboBox_SelectedIndexChanged(Object sender, EventArgs e)
   at DevExpress.XtraEditors.Repository.RepositoryItemComboBox.RaiseSelectedIndexChanged(EventArgs e)
   at DevExpress.XtraEditors.ComboBoxEdit.UpdatePopupEditValueIndex(Int32 prevIndex)
   at DevExpress.XtraEditors.ComboBoxEdit.set_EditValue(Object value)
   at DevExpress.XtraEditors.PopupBaseEdit.AcceptPopupValue(Object val)
   at DevExpress.XtraEditors.PopupBaseEdit.UpdateEditValueOnClose(PopupCloseMode closeMode, Boolean acceptValue, Object newValue, Object oldValue)
   at DevExpress.XtraEditors.PopupBaseEdit.DoClosePopup(PopupCloseMode closeMode)

 

Solution:

This can be remedied by installing the English (United States) language on the impacted device.

In the past, this has been discovered on Beacons with only non-US English languages installed.

Due to the lack of the English (United States) Language being installed, issues occur reading our reader_v3.config file associated with this Connection.

 

To add additional language packs to Windows Server, note the following Microsoft Doc:

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-language-packs-to-windows

Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Jul 06, 2020 03:17 AM
Updated by:
 
Contributors