brianlala / AutoSPInstaller

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

Key cannot be null #46

Closed jcollinsks closed 5 years ago

jcollinsks commented 5 years ago

SharePoint 2019 Min Role I'm trying to setup a farm, and getting the following error: image

I've tried setting the version to "16" and setting the year manually to "2019" as well as tried changing the state service to false when provisioning.

jcollinsks commented 5 years ago

@brianlala any idea on this one?

jcollinsks commented 5 years ago

For anyone having the same issue, the fix is to remove $spVer = $spVersions.$spYear and set $spVer = "16" or the version you're installing image

brianlala commented 5 years ago

Hard-coding the version isn't really a fix :) we have to figure out why exactly this is happening for you... this is fairly old code and has worked for a while.

jcollinsks commented 5 years ago

I agree, I saw someone else on the website had the same error in the discussion area. Is there anything you'd like to see to make sure it's setup correctly, I can strip passwords from the input file and upload it.