Quantcast
Channel: AutoSPInstaller
Viewing all 2279 articles
Browse latest View live

New Post: Is there "FULL" compatibility with SP2016?

$
0
0
I see a few posts about issues with SP2016, some recommendations on how to fix or what to check, but no followup.

Is this early stage dev for supporting 2016, or has it been proving to be successful for anyone?

Please comment with your success if you have used it in a multi-tier farm.

Thanks.

Commented Unassigned: WebAdministration Error 2012 R2 [22344]

$
0
0
I have set the XML file up correctly and have all the pre-req's installed. About midway through the script when it starts creating webapplications it errors out saying the PowerShell module "WebAdministration" is not loaded. Attempting to do Import-Module does not work.
Comments: ** Comment from web user: Ghost5525 **

So figured out that the module was not in the C:\Program Files\Powershell folder..which is why it wouldn't work. Copied it over from the system32 location to that one and it worked.

Commented Unassigned: WebAdministration Error 2012 R2 [22344]

$
0
0
I have set the XML file up correctly and have all the pre-req's installed. About midway through the script when it starts creating webapplications it errors out saying the PowerShell module "WebAdministration" is not loaded. Attempting to do Import-Module does not work.
Comments: ** Comment from web user: brianlala **

Hmm it shouldn't need to be in Program Files - just checked a local successful SharePoint installation and it was in C:\windows\system32\WindowsPowerShell\v1.0\Modules. Maybe there's something up with your PowerShell profile or your PATH environment variables etc. ?

Brian

Commented Unassigned: Error: Custom file location is not accessible while offline prerequisite installer [22339]

$
0
0
I am having an issue when autoinstaller is trying to configure the SharePoint 2013 Standalone offline mode.

My system configurations: OS: Windows Server 2012 R2
SharePoint : 2013 Enterprise Trail

please see below error. I copied prerequisites in proper location.

--------------------------------------------------------------

- 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: 2016-08-24 21:43:44 - 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

frame)

at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame

frame)

at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame

frame)

TargetObject :

CategoryInfo : InvalidData: (:) [Write-Warning], ParameterBindingValidationException

FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteWarningComman

d

ErrorDetails :

InvocationInfo : System.Management.Automation.InvocationInfo

ScriptStackTrace : at InstallPrerequisites, C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 882

at Run-Install, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 184

at <scriptblock>, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 381

at <scriptblock>, <no file="">: line 1

PipelineIterationInfo : {}

PSMessageDetails :

-----------------------------------

| Automated SP2013 install script |

| Started on: 8/24/2016 9:43:38 PM |

| Aborted: 8/24/2016 9:43:50 PM |

-----------------------------------

PS C:\SP\AutoSPInstaller>
Comments: ** Comment from web user: CollinAmes23 **

I am also having this same issue on Windows 2012 R2. Guidance would be appreciated. Thank you.

Commented Unassigned: Error: Custom file location is not accessible while offline prerequisite installer [22339]

$
0
0
I am having an issue when autoinstaller is trying to configure the SharePoint 2013 Standalone offline mode.

My system configurations: OS: Windows Server 2012 R2
SharePoint : 2013 Enterprise Trail

please see below error. I copied prerequisites in proper location.

--------------------------------------------------------------

- 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: 2016-08-24 21:43:44 - 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

frame)

at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame

frame)

at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame

frame)

TargetObject :

CategoryInfo : InvalidData: (:) [Write-Warning], ParameterBindingValidationException

FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteWarningComman

d

ErrorDetails :

InvocationInfo : System.Management.Automation.InvocationInfo

ScriptStackTrace : at InstallPrerequisites, C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 882

at Run-Install, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 184

at <scriptblock>, C:\SP\AutoSPInstaller\AutoSPInstallerMain.ps1: line 381

at <scriptblock>, <no file="">: line 1

PipelineIterationInfo : {}

PSMessageDetails :

-----------------------------------

| Automated SP2013 install script |

| Started on: 8/24/2016 9:43:38 PM |

| Aborted: 8/24/2016 9:43:50 PM |

-----------------------------------

PS C:\SP\AutoSPInstaller>
Comments: ** Comment from web user: CollinAmes23 **

OK, I believe I found the issue: there are actually two WcfDataServices prerequisites, but the 5.6 version is not downloaded if you use something like the prerequisiteinstaller tool. I found this article which will give you the 5.6 download location with instructions to rename it to WcfDataServices56.exe, which is the missing file causing this issue: https://blogs.technet.microsoft.com/cjrawson/2014/04/06/offline-installation-no-internet-connection-of-sharepoint-2013-sp1-prerequisites-on-windows-server-2012-r2/

Commented Unassigned: Why Add-SPShellAdmin fails [22139]

$
0
0
The error:

“Cannot add <user> to the SharePoint_Shell_Access role of the database SharePoint_Config_<Guid>. A possible cause of this error is that the account name was already added to the database as a login using a different user name than the account name.”

The DB_Owner Role is replaced by the SP_DataAccessRole in SharePoint 2013. This role is detailed here:

https://technet.microsoft.com/EN-US/library/cc678863.aspx#Section4

_The SP_DATA_ACCESS role is the default role for database access and should be used for all object model level access to databases. Add the application pool account to this role during upgrade or new deployments.


Note:

The SP_DATA_ACCESS role replaces the db_owner role in SharePoint 2013.

The SP_DATA_ACCESS role will have the following permissions:

Grant EXECUTE or SELECT on all SharePoint stored procedures and functions
Grant SELECT on all SharePoint tables
Grant EXECUTE on User-defined type where schema is dbo
Grant INSERT on AllUserDataJunctions table
Grant UPDATE on Sites view
Grant UPDATE on UserData view
Grant UPDATE on AllUserData table
Grant INSERT and DELETE on NameValuePair tables
Grant create table permission
_

This is the role given to the Install account by the farm account during the user profile sync service app creation instead of the db_owner role. This is because the Add-SPShellAdmin in SP 2013 starts by looking for the SP_Data_Access role on the database and if this role is found it is used. if not it uses the db_owner role.
The SP_Data_Access role does not give the install or setup account enough permissions to run an add-spshelladmin for other service accounts against the upsa databases (profile and social dbs). setting the setup account as db_owner on those dbs fixes this. Giving the setup account sysadmin rights fixes it too.

So I guess a new fix is on the way Brian :-)
Comments: ** Comment from web user: SpRambler **

replace the content section of the function CreateUPSAsAdmin with this one:

$content = @"
Write-Host "Creating $userProfileServiceName as $farmAcct..."
Add-PsSnapin Microsoft.SharePoint.PowerShell
`$newProfileServiceApp = New-SPProfileServiceApplication -Name `"$userProfileServiceName`" -ApplicationPool `"$($applicationPool.Name)`" -ProfileDBServer `"$profileDBServer`" -ProfileDBName $profileDB -ProfileSyncDBServer $syncDBServer -ProfileSyncDBName $syncDB -SocialDBServer $socialDBServer -SocialDBName $socialDB -MySiteHostLocation $mySiteHostLocation $mySiteManagedPathSwitch
If (-not `$?) {Write-Error " - Failed to create $userProfileServiceName"; Write-Host 'Press any key to exit...'; `$null = `$host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')}

`. "$env:dp0\AutoSPInstallerFunctionsCustom.ps1"
Write-Host " - Grant the current install account rights to the newly-created Profile DB - needed since it's going to be running PowerShell commands against it"
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $profileDB
Write-Host ' - Grant the current install account rights to the newly-created Social DB as well'
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $socialDB
Write-Host ' - Grant the current install account rights to the newly-created Sync DB as well'
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $syncDB
"@

Add this function to the customfunctions script file:

Function Add-UserToDBOwnerRole
{
param
(
$Login,
$SQLInstance,
$DBName
)

$objSQLConnection = New-Object System.Data.SqlClient.SqlConnection
$objSQLCommand = New-Object System.Data.SqlClient.SqlCommand
Try
{
#$db = Get-SPDatabase $DBName
#$SQLInstance = $DBName.ServiceInstance.DisplayName
$objSQLConnection.ConnectionString = "Data Source=$SQLInstance;Integrated Security=SSPI;Initial Catalog=$DBName"
Write-ToLogFile -ForegroundColor White " - Granting the setup account $Login Db_Owner to the database $DBName"
$objSQLConnection.Open() | Out-Null
$strCmd = "EXEC sp_addrolemember @rolename = N'db_owner', @membername = N'$Login'"
$objSQLCommand.CommandText = $strCmd
$objSQLCommand.Connection = $objSQLConnection
$objSQLDataReader = $objSQLCommand.ExecuteNonQuery() | out-null
$objSQLConnection.Close()
}
catch
{
write-host $_
}
}

add error catching as you like

Commented Unassigned: Why Add-SPShellAdmin fails [22139]

$
0
0
The error:

“Cannot add <user> to the SharePoint_Shell_Access role of the database SharePoint_Config_<Guid>. A possible cause of this error is that the account name was already added to the database as a login using a different user name than the account name.”

The DB_Owner Role is replaced by the SP_DataAccessRole in SharePoint 2013. This role is detailed here:

https://technet.microsoft.com/EN-US/library/cc678863.aspx#Section4

_The SP_DATA_ACCESS role is the default role for database access and should be used for all object model level access to databases. Add the application pool account to this role during upgrade or new deployments.


Note:

The SP_DATA_ACCESS role replaces the db_owner role in SharePoint 2013.

The SP_DATA_ACCESS role will have the following permissions:

Grant EXECUTE or SELECT on all SharePoint stored procedures and functions
Grant SELECT on all SharePoint tables
Grant EXECUTE on User-defined type where schema is dbo
Grant INSERT on AllUserDataJunctions table
Grant UPDATE on Sites view
Grant UPDATE on UserData view
Grant UPDATE on AllUserData table
Grant INSERT and DELETE on NameValuePair tables
Grant create table permission
_

This is the role given to the Install account by the farm account during the user profile sync service app creation instead of the db_owner role. This is because the Add-SPShellAdmin in SP 2013 starts by looking for the SP_Data_Access role on the database and if this role is found it is used. if not it uses the db_owner role.
The SP_Data_Access role does not give the install or setup account enough permissions to run an add-spshelladmin for other service accounts against the upsa databases (profile and social dbs). setting the setup account as db_owner on those dbs fixes this. Giving the setup account sysadmin rights fixes it too.

So I guess a new fix is on the way Brian :-)
Comments: ** Comment from web user: SpRambler **

replace the content section of the function CreateUPSAsAdmin with this one:
```
$content = @"
Write-Host "Creating $userProfileServiceName as $farmAcct..."
Add-PsSnapin Microsoft.SharePoint.PowerShell
`$newProfileServiceApp = New-SPProfileServiceApplication -Name `"$userProfileServiceName`" -ApplicationPool `"$($applicationPool.Name)`" -ProfileDBServer `"$profileDBServer`" -ProfileDBName $profileDB -ProfileSyncDBServer $syncDBServer -ProfileSyncDBName $syncDB -SocialDBServer $socialDBServer -SocialDBName $socialDB -MySiteHostLocation $mySiteHostLocation $mySiteManagedPathSwitch
If (-not `$?) {Write-Error " - Failed to create $userProfileServiceName"; Write-Host 'Press any key to exit...'; `$null = `$host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')}

`. "$env:dp0\AutoSPInstallerFunctionsCustom.ps1"
Write-Host " - Grant the current install account rights to the newly-created Profile DB - needed since it's going to be running PowerShell commands against it"
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $profileDB
Write-Host ' - Grant the current install account rights to the newly-created Social DB as well'
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $socialDB
Write-Host ' - Grant the current install account rights to the newly-created Sync DB as well'
Add-UserToDBOwnerRole $env:USERDOMAIN\$env:USERNAME $dbServer $syncDB
"@

```
Add this function to the customfunctions script file:

```
Function Add-UserToDBOwnerRole
{
param
(
$Login,
$SQLInstance,
$DBName
)

$objSQLConnection = New-Object System.Data.SqlClient.SqlConnection
$objSQLCommand = New-Object System.Data.SqlClient.SqlCommand
Try
{
#$db = Get-SPDatabase $DBName
#$SQLInstance = $DBName.ServiceInstance.DisplayName
$objSQLConnection.ConnectionString = "Data Source=$SQLInstance;Integrated Security=SSPI;Initial Catalog=$DBName"
Write-ToLogFile -ForegroundColor White " - Granting the setup account $Login Db_Owner to the database $DBName"
$objSQLConnection.Open() | Out-Null
$strCmd = "EXEC sp_addrolemember @rolename = N'db_owner', @membername = N'$Login'"
$objSQLCommand.CommandText = $strCmd
$objSQLCommand.Connection = $objSQLConnection
$objSQLDataReader = $objSQLCommand.ExecuteNonQuery() | out-null
$objSQLConnection.Close()
}
catch
{
Write-Host $_
}
}

```

Manage errors to your liking

Created Unassigned: Offline Prerequisite Install [22354]

$
0
0
I've been having issues getting AutoSPInstaller to install SharePoint 2016 offline and I've found the following line in the PrerequisiteInstall function

/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices.exe`"

Should actually be

/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices56.exe`"

Created Unassigned: SharePoint 2016 Feature Pack support [22356]

$
0
0
Just noticed a new feature pack is around the corner for SharePoint 2016 that includes changes to the minRoles feature.

https://blogs.office.com/2016/09/26/announcing-feature-pack-1-for-sharepoint-server-2016-cloud-born-and-future-proof/

Is the script going to be updated to support this? Or is it time to jump ship in favour of DSC?

Commented Unassigned: SharePoint 2016 Feature Pack support [22356]

$
0
0
Just noticed a new feature pack is around the corner for SharePoint 2016 that includes changes to the minRoles feature.

https://blogs.office.com/2016/09/26/announcing-feature-pack-1-for-sharepoint-server-2016-cloud-born-and-future-proof/

Is the script going to be updated to support this? Or is it time to jump ship in favour of DSC?
Comments: ** Comment from web user: brianlala **

I am planning on updating the script if the amount of effort is reasonable. However definitely have a look at SharePointDSC if it meets your needs.

Brian

Closed Unassigned: SharePoint 2016 Feature Pack support [22356]

$
0
0
Just noticed a new feature pack is around the corner for SharePoint 2016 that includes changes to the minRoles feature.

https://blogs.office.com/2016/09/26/announcing-feature-pack-1-for-sharepoint-server-2016-cloud-born-and-future-proof/

Is the script going to be updated to support this? Or is it time to jump ship in favour of DSC?

Created Unassigned: Managed paths are not created in SP 2016 [22358]

$
0
0
When installing SP 2016, no custom managed paths are actually created. The console output shows no error. But when a site collection, which requires a certain managed path to exist, is created, this obviously fails.

I couldn't figure out why the paths are not created. Running the same command manually works.

I also noticed, New-SPManagedPath is executed a second time with the -HostHeader switch. This doesn't work because you can't have both a HNSC and non-HNSC managed path with the same name. It's one or the other.

```
New-SPManagedPath -RelativeUrl $managedPath.RelativeUrl -WebApplication $url -Explicit -ErrorAction SilentlyContinue | Out-Null
# Let's create it for host-named site collections too, in case we have any
New-SPManagedPath -RelativeUrl $managedPath.RelativeUrl -HostHeader -Explicit -ErrorAction SilentlyContinue | Out-Null
```

Created Unassigned: Creating internal list of server farms - case issue [22368]

$
0
0
On line 6567 of the AutoSPInstallerFunctions.ps1 is the line
$farmServers = $farmServers | Where-Object {$_ -ne ""} | Select-Object -Unique

Unfortunately, the Select-Object -Unique is case sensitive (as is the Get-Unique cmdlet)

As a suggestion, you might want to change the line to
$farmServers = $farmServers | Where-Object {$_ -ne ""} | % { $_.ToLower() } | Select-Object -Unique

Created Unassigned: Running script inside PSISE [22369]

$
0
0
Inside the Pause function (source - AutoSpInstallerFunctions.ps1), at about line 7450

In order to run inside PS ISE, you might consider changing the following code.

From -
if ($key -eq "any" -or ([string]::IsNullOrEmpty($key)))
{
$actionString = "Press any key to $action..."
if (-not $unattended)
{
Write-Host $actionString
$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}
else
{
Write-Host "Skipping pause due to -unattended switch: $actionString"
}
}
else


To -
if ($key -eq "any" -or ([string]::IsNullOrEmpty($key)))
{
$actionString = "Press any key to $action..."
if (-not $unattended)
{
if ($psISE)
{
$null = Read-Host -Prompt "Hit [enter/return] to $action..."
}
else
{
Write-Host $actionString
$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
}
}
else
{
Write-Host "Skipping pause due to -unattended switch: $actionString"
}
}
else

Commented Unassigned: Offline Prerequisite Install [22354]

$
0
0
I've been having issues getting AutoSPInstaller to install SharePoint 2016 offline and I've found the following line in the PrerequisiteInstall function

/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices.exe`"

Should actually be

/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices56.exe`"
Comments: ** Comment from web user: ErikBo **

The reference in AutoSPInstallerFunctions.ps1/InstallPrerequisites (Line 731)
/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices.exe`" `
is erroneous, and should read
/WCFDataServices56:`"$env:SPbits\PrerequisiteInstallerFiles\WcfDataServices56.exe`"


Created Unassigned: Error executing the SharePoint 2016 binaries [22372]

$
0
0
(version 3.99.51, SP2016 SingleServerFarm minRole with separate SQLSrv)
We get an error in Microsoft SharePoint Server 2016, Installation Progress, Finalizing installation:
"Microsoft SharePoint Foundation administration tool has stopped working".
Examining the AutoSPInstaller log nor EventVwr gave no clue.
Killing the process, produced an additional error: "SharePoint 2016 Products Configuration Wizard has stopped working". (psconfigUI.exe 16.0.4318.100).

Seems like the best approach to circumvent this problem is:
1. Cancel setup,
2. Restart server,
3. __Windows Update__: Install all important updates,
4. Restart server,
5. Rerun AutoSPInstallerLaunch.bat file as Administrator.
(Cancelling setup…, restarting the server, Ignoring ”Windows Update”, rerun AutoSPInstallerLaunch.bat file as Administrator: “Nothing” worked!)
We also have an - maybe related - issue not being able to finalize psconfigUI, as described in another posting here.
Kind regards and thanks for the good work
Erik Bo

Created Unassigned: Error executing the SharePoint 2016 binaries [22373]

$
0
0
(version 3.99.51, SP2016 SingleServerFarm minRole with separate SQLSrv)
We get an error in Microsoft SharePoint Server 2016, Installation Progress, Finalizing installation:
"Microsoft SharePoint Foundation administration tool has stopped working".
Examining the AutoSPInstaller log nor EventVwr gave no clue.
Killing the process, produced an additional error: "SharePoint 2016 Products Configuration Wizard has stopped working". (psconfigUI.exe 16.0.4318.100).

Seems like the best approach to circumvent this problem is:
1. Cancel setup,
2. Restart server,
3. __Windows Update__: Install all important updates,
4. Restart server,
5. Rerun AutoSPInstallerLaunch.bat file as Administrator.
(Cancelling setup…, restarting the server, Ignoring ”Windows Update”, rerun AutoSPInstallerLaunch.bat file as Administrator: “Nothing” worked!)
We also have an - maybe related - issue not being able to finalize psconfigUI, as described in another posting here.
Kind regards and thanks for the good work
Erik Bo

Created Unassigned: Error executing the SharePoint 2016 binaries [22374]

$
0
0
(version 3.99.51, SP2016 SingleServerFarm minRole with separate SQLSrv)
We get an error in Microsoft SharePoint Server 2016, Installation Progress, Finalizing installation:
"Microsoft SharePoint Foundation administration tool has stopped working".
Examining the AutoSPInstaller log nor EventVwr gave no clue.
Killing the process, produced an additional error: "SharePoint 2016 Products Configuration Wizard has stopped working". (psconfigUI.exe 16.0.4318.100).

Seems like the best approach to circumvent this problem is:
1. Cancel setup,
2. Restart server,
3. __Windows Update__: Install all important updates,
4. Restart server,
5. Rerun AutoSPInstallerLaunch.bat file as Administrator.
(Cancelling setup…, restarting the server, Ignoring ”Windows Update”, rerun AutoSPInstallerLaunch.bat file as Administrator: “Nothing” worked!)
We also have an - maybe related - issue not being able to finalize psconfigUI, as described in another posting here.
Kind regards and thanks for the good work
Erik Bo

Created Unassigned: PSConfigUI - Failed to determine the finalization form context [22375]

$
0
0
(Version 3.99.51 SP2016 SingleServerFarm minRole, Separate SQL Server, da-da Language pack)
Even though psconfig.exe runs without errors or warnings, we can't get psconfigUI to finalize.
We have tried restarts, cache-clean-ups ... to no avail.

```
ERR An unknown failure has occurred when configuring the SharePoint Products.
An exception of type System.InvalidOperationException was thrown. Additional exception information: An internal error occurred. The program cannot continue to run. The program stopped because of the following: Failed to determine the finalization form context
System.InvalidOperationException: An internal error occurred. The program cannot continue to run. The program stopped because of the following: Failed to determine the finalization form context
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Microsoft.SharePoint.PostSetupConfiguration.PsconfigBaseForm.TaskDriverEventHandler(Object sender, EventArgs e)
at Microsoft.SharePoint.PostSetupConfiguration.TaskDriverEventHandler.Invoke(Object sender, EventArgs e)
at Microsoft.SharePoint.PostSetupConfiguration.TaskDriver.FireOnTaskDriverEvent(TaskDriverEventArgs driverEvent)
at Microsoft.SharePoint.PostSetupConfiguration.TaskDriver.OnTaskDriverStop(EventCriticalityType critical, String message)
at Microsoft.SharePoint.PostSetupConfiguration.TaskDriver.Stop(Boolean success, Boolean eventlog, Boolean verboseDriverStopEvent)
at Microsoft.SharePoint.PostSetupConfiguration.TaskDriver.Run()

```
Kind regards and thanks for the good work
Erik Bo

Commented Unassigned: Update-SPSecureStoreMasterKey : Secure Store Service did not performed the operation. [22184]

$
0
0
Found another bug, perhaps there should be a check to make sure Token Service is running before allowing the script to attempt to build a Secure Store Service:

- Provisioning Secure Store Service Application...
- Starting Secure Store Service Instance...
- Waiting for Secure Store service...Online
- Creating Secure Store Service Application...
- Creating Secure Store Service Application Proxy...
- Done creating Secure Store Service Application.
- Creating the Master Key...
Update-SPSecureStoreMasterKey : Secure Store Service did not performed the operation.
At C:\USPTO\AutoSPInstaller_back\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:3939 char:13
+ Update-SPSecureStoreMasterKey -ServiceApplicationProxy $secureStore. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...eStoreMasterKey:SPUpdateSPSecureStoreMasterKey) [Update-
SPSecureStoreMasterKey], FaultException
+ FullyQualifiedErrorId : Microsoft.Office.SecureStoreService.PowerShellCmdlet.SPUpdateSPSecureStoreMasterKey

- Creating the Application Key...
- Done creating/configuring Secure Store Service Application.
Comments: ** Comment from web user: bretzlaff **

Thanks for the great tool! I am experiencing the exact same error for a SP2013 install.

Viewing all 2279 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>