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

Doesn't contain a method named 'SelectSingleNode'

Topics: General Questions, Support
Nov 24, 2014 at 4:45 PM

I've just got this error after trying the auto installer by using the GUI tool. Could it be that I haven't configured a site collection? I wanted to do that manually post install if possible.

Also I can't see an option to create a web app with https over port 443?
  • Setting power management plan to "High Performance"...
  • Using pre-provided credentials...
  • Checking credentials: "NTSERVERS\spsetup2013"...Verified.

Transcript started, output file is C:\Users\SPSETUP2013\Desktop\AutoSPInstaller-2014-11-24_4-37.rtf

| Automated SP2013 install script |

| Started on: 24/11/2014 16:37:38 |

  • SharePoint 2013 binaries are already installed.
  • Install based on:
    • C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerInput.xml
    • Environment:

- Version: 3.96

  • Validating user accounts and passwords...
  • Account "ntservers\spfarm2013" (Account)...Verified.
  • Account "ntservers\SPSERVICES2013" (ManagedAccount)...Verified.
  • Account "ntservers\SPIIS2013" (ManagedAccount)...Verified.
  • Account "ntservers\SPPROFILE2013" (ManagedAccount)...Verified.
  • Account "ntservers\SPSEARCH2013" (ManagedAccount)...Verified.
  • Account "NTERVERS\SPSEARCH2013" (Search Service Application)...Verified.
  • Account "ntservers\SPCACHESUPERUSER2013"...Verified.

- Account "ntservers\SPCACHEREAD2013"...Verified.

- Writing config-AutoSPInstaller.xml to C:\Users\SPSETUP2013\AppData\Local\Temp\2...

  • Testing access to SQL server/instance/alias: DBSHARE2013SQL
  • Trying to connect to "DBSHARE2013SQL"...Success
  • SQL Server version is: 11.0.3393.0
  • This instance of SQL Server is clustered
  • Check if NTSERVERS\spsetup2013 has dbcreator server role...Pass

- Check if NTSERVERS\spsetup2013 has securityadmin server role...Pass

- Disabling Loopback Check...

- Disabling IE Enhanced Security...

  • Setting services Spooler, AudioSrv and TabletInputService to Manual...
  • Spooler is already stopped and set Manual, no action required.
  • AudioSrv is already stopped and set Manual, no action required.
  • TabletInputService is already stopped and set Manual, no action required.
  • Setting unused services WerSvc to Disabled...
  • WerSvc is already stopped and disabled, no action required.

- Finished disabling services.

- Not changing CRL check behavior.

- SharePoint 2013 prerequisites appear be already installed - skipping install.

  • Configuring IIS logging...

- C:\Inetpub\logs is already compressed.

- SharePoint 2013 binaries appear to be already installed - skipping installation.

  • No language packs found in C:\AutoSPInstaller\SP\2013\LanguagePacks, skipping.
  • Currently installed languages:

- English (United States)

  • Looking for SharePoint updates to install...

- No other updates found in C:\AutoSPInstaller\SP\2013\Updates, proceeding...

- SharePoint 2013 binary file installation done!

  • Adding ntservers\spfarm2013 to local Administrators (only for install)...

- ntservers\spfarm2013 is already a member of "Administrators".

- Loading SharePoint PowerShell Snapin...

  • Checking farm membership for SHARESVC1 in "SP_Config"....

- SHARESVC1 is already joined to farm on "SP_Config".

  • Configuring the SharePoint farm/server...
  • Securing Resources...
  • Installing Services...
  • Checking Default Web Site...Already stopped.

- Done initial farm/server config.

  • Configuring SharePoint diagnostic (ULS) logging...

- C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS is already compressed.

  • Adding Managed Accounts...
    • Account "ntservers\SPSERVICES2013:
    • Creating local profile for ntservers\SPSERVICES2013...
    • Adding to local Admins (temporarily)...OK.
    • Removing from local Admins...OK.
    • Done.
    • Managed account ntservers\SPSERVICES2013 already exists.
    • Account "ntservers\SPIIS2013:
    • Creating local profile for ntservers\SPIIS2013...
    • Adding to local Admins (temporarily)...OK.
    • Removing from local Admins...OK.
    • Done.
    • Managed account ntservers\SPIIS2013 already exists.
    • Account "ntservers\SPPROFILE2013:
    • Creating local profile for ntservers\SPPROFILE2013...
    • Adding to local Admins (temporarily)...OK.
    • Removing from local Admins...OK.
    • Done.
    • Managed account ntservers\SPPROFILE2013 already exists.
    • Account "ntservers\SPSEARCH2013:
    • Creating local profile for ntservers\SPSEARCH2013...
    • Adding to local Admins (temporarily)...OK.
    • Removing from local Admins...OK.
    • Done.
    • Managed account ntservers\SPSEARCH2013 already exists.

- Done Adding Managed Accounts.

  • Creating web applications...
  • Web app "" already provisioned.
  • Setting up managed paths for ""
  • Done setting up managed paths at ""
  • Assigning certificate to site ""
  • Looking for existing "*.mydomain.CO.UK" wildcard certificate...
  • Certificate "CN=*.mydomain.CO.UK" found.
  • Exporting "CN=*.mydomain.CO.UK" to "wildcard.mydomain.CO.UK.cer"...
  • Importing "wildcard.mydomain.CO.UK.cer" to Local Machine\Root...
  • Assigning certificate "CN=*.mydomain.CO.UK" to SSL-enabled site...
  • Certificate has been assigned to site ""

- Granting i:0#.w|NTSERVERS\spsetup2013 Full Control to

- Done applying object cache accounts to ""

  • Script halted!
Exception : System.Management.Automation.RuntimeException: Method invocation failed because
                    [System.String] doesn't contain a method named 'SelectSingleNode'.
                       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
                    funcContext, Exception exception)
                       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
TargetObject :
CategoryInfo : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : MethodNotFound
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 2661
                    at CreateWebApplications, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:
                    line 2512
                    at Setup-Farm, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 206
                    at <ScriptBlock>, C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 405
                    at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

PSMessageDetails :

| Automated SP2013 install script |
| Started on: 24/11/2014 16:37:38 |

| Aborted: 24/11/2014 16:37:53 |

PS C:\AutoSPInstaller\SP\AutoS
Nov 24, 2014 at 4:52 PM

You are correct, there is currently a bug in AutoSPinstaller that will cause it to crash if there are no Site Collections. Add one to each WebApp and re-run the script.

Nov 24, 2014 at 4:52 PM
That is correct. You need to populate at least one site collection. You can review this thread.
Nov 24, 2014 at 4:56 PM
Thanks guys I'll give it a try now :o)