brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
171 stars 81 forks source link

Attempting to join farm on "AutoSPInstaller_Config"... - Script halted! #4

Closed JimGtax closed 7 years ago

JimGtax commented 7 years ago

Can someone assist?

Exception : System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'DatabaseServer'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics) at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags) --- End of inner exception stack trace --- 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: (:) [Connect-SPConfigurationDatabase], ParameterBindingValidationException FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.SharePoint.PowerShell.SPCmdletConnectSPConfiguration Database ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo ScriptStackTrace : at CreateOrJoinFarm, D:\Install\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 1794 at Setup-Farm, D:\Install\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 205 at , D:\Install\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 427 at , : line 1 PipelineIterationInfo : {} PSMessageDetails :


| Automated SP2016 install script | | Started on: 9/7/2017 10:11:52 AM | | Aborted: 9/7/2017 10:20:42 AM |

JimGtax commented 7 years ago

I was able to resolve this particular issue by using an alias (I am running on a single server farm).