This project has moved and is read-only. For the latest updates, please go here.

Error in Script

Topics: Support
Oct 4, 2015 at 7:52 PM
Edited Oct 4, 2015 at 7:53 PM
Anyone have any idea why I a getting this error? I couldn't install the prerequisites, and thought I could just do those manually, but the script continues to halt. I'm out of ideas. I've doubled checked the .xml file like 50 times. I used AutoSPSourceBuilder to build my source, all the prerequisites are successfully installed.
 - Installing Prerequisite Software:
  - .Net Framework 3.5.1 from "C:\SP\2013\SharePoint\PrerequisiteInstallerFiles\sxs"...Already installed.
  - Running Prerequisite Installer (offline mode)....Done.
  - Prerequisite Installer completed in 00:00:05.
WARNING: 2015-10-04 14:46:24 - Error: Custom file location is not accessible
 - Script halted!

Exception             : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to
                        parameter 'Message' because it is null.
                           at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
                        funcContext, Exception exception)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
TargetObject          :
CategoryInfo          : InvalidData: (:) [Write-Warning], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteWarningComman
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at InstallPrerequisites, C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 874
                        at Run-Install, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 184
                        at <ScriptBlock>, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 379
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails      :____
Oct 21, 2015 at 10:27 PM

I have the same error, any solution to this issue ?
Oct 28, 2015 at 3:30 PM
Make sure you are doing an online installation of prerequisites.

Make sure you set this tag to false. I had this set to true, but not all the prereqs were available offline. I thought they were but I missed something.
Oct 28, 2015 at 4:23 PM
I also encountered this issue when the server is receiving updates via WSUS.