Hi,
Please help me with this kind error:
```
Exception : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to
parameter 'String' because it is an empty string.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
TargetObject :
CategoryInfo : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.ConvertToSe
cureStringCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at AddManagedAccounts, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2002
at Setup-Farm, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 203
at <ScriptBlock>, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 397
at <ScriptBlock>, <No file>: line 1
```
My env: SharePoint 2013, SQL 2012 SP1, Win 2012 SP1
All fields with pass and logins.
Thanks a lot to all for any reply!
Comments: ** Comment from web user: kazimo **
Please help me with this kind error:
```
Exception : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to
parameter 'String' because it is an empty string.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
at
System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
frame)
TargetObject :
CategoryInfo : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.ConvertToSe
cureStringCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at AddManagedAccounts, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2002
at Setup-Farm, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 203
at <ScriptBlock>, D:\Tools\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 397
at <ScriptBlock>, <No file>: line 1
```
My env: SharePoint 2013, SQL 2012 SP1, Win 2012 SP1
All fields with pass and logins.
Thanks a lot to all for any reply!
Comments: ** Comment from web user: kazimo **
In my case i was using AutoinstallerGUI to create Autoinstallerinput.xml and i forgot to click add after populating web application information.