Search Query and Site Settings Service already started. - Script aborted!

Jul 18, 2011 at 7:48 PM
Edited Jul 18, 2011 at 7:49 PM

 

Using 76051 build.
No special characters in passwords, valid XML.

This is where scripts breaks on an APP server.

 

Starting Search Query and Site Settings Service Instance...

- Search Query and Site Settings Service already started.

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

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

Script aborted!

 

Exception : System.Management.Automation.RuntimeException: You cann

ot call a method on a null-valued expression.

at System.Management.Automation.ParserOps.CallMethod

(Token token, Object target, String methodName, Object[

] paramArray, Boolean callStatic, Object valueToSet)

at System.Management.Automation.MethodCallNode.Invok

eMethod(Object target, Object[] arguments, Object value

)

at System.Management.Automation.MethodCallNode.Execu

te(Array input, Pipe outputPipe, ExecutionContext conte

xt)

at System.Management.Automation.ifStatementNode.Exec

ute(Array input, Pipe outputPipe, ArrayList& resultList

, ExecutionContext context)

at System.Management.Automation.StatementListNode.Ex

ecuteStatement(ParseTreeNode statement, Array input, Pi

pe outputPipe, ArrayList& resultList, ExecutionContext

context)

TargetObject : GetAttribute

CategoryInfo : InvalidOperation: (GetAttribute:String) [], RuntimeExce

ption

FullyQualifiedErrorId : InvokeMethodOnNull

ErrorDetails :

InvocationInfo : System.Management.Automation.InvocationInfo

PipelineIterationInfo : {}

PSMessageDetails :

Jul 19, 2011 at 7:08 AM

in AutoSPInstallerInput.xml

Add:
<ClaimsToWindowsTokenService Start="true" />
to 
<services>

 

HTH.

Jul 19, 2011 at 9:25 PM
Edited Jul 19, 2011 at 9:29 PM
josephsaad wrote:

in AutoSPInstallerInput.xml

Add:
<ClaimsToWindowsTokenService Start="true" />
to 
<services>
HTH.

Perfect, the scripts ran further. Additional errors were thrown:

1:

- Provisioning User Profile Service Application

- Starting User Profile Service instance...

- Creating Web App ""...

New-SPWebApplication : Cannot bind argument to parameter 'Name' because it is n

ull.

At D:\SP2010Deployment\AutoSPInstaller\SP2010\AutoSPInstaller\AutoSPInstallerFu

nctions.ps1:1740 char:35

+ New-SPWebApplication -Name <<<< $MySiteName -Application

PoolAccount $MySiteAppPoolAcct -ApplicationPool $MySiteAppPool -DatabaseName $M

ySiteDB -HostHeader $MySiteHostHeader -Url $MySiteURL -Port $MySitePort -Secure

SocketsLayer:$MySiteUseSSL | Out-Null

+ CategoryInfo : InvalidData: (:) [New-SPWebApplication], Paramet

erBindingValidationException

+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M

icrosoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication

 

Press any key to exit...

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

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

- State Service Application already provisioned.

 

2.

Enterprise search service application proxy already exists, skipping creation.

- Creating network share "SearchShare=D:\Program Files\Microsoft Office Servers\14.0\Data\Office Server\Applications"

Set-SPEnterpriseSearchCrawlContentSource : Invalid URI: The format of the URI c

ould not be determined.

At D:\SP2010Deployment\AutoSPInstaller\SP2010\AutoSPInstaller\AutoSPInstallerFu

nctions.ps1:2677 char:128

+ Get-SPEnterpriseSearchServiceApplication | Get-SPEnterpriseSearchCrawlCon

tentSource | Set-SPEnterpriseSearchCrawlContentSource <<<< -StartAddresses $Cr

awlStartAddresses

+ CategoryInfo : InvalidData: (Microsoft.Offic...wlContentSource:

SetSearchCrawlContentSource) [Set-SPEnterpriseSearchCrawlContentSource], U

riFormatException

+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchC

rawlContentSource

 

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

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

- Provisioning Business Data Connectivity Service

 

3.

- Setting Excel Services Trusted File Location...

Set-SPExcelFileLocation : Value for parameter Address is invalid.

At D:\SP2010Deployment\AutoSPInstaller\SP2010\AutoSPInstaller\AutoSPInstallerFu

nctions.ps1:3232 char:27

+ Set-SPExcelFileLocation <<<< -Identity "http://" -LocationType S

harePoint -IncludeChildren -Address $PortalURL`:$PortalPort -ExcelServiceApplic

ation $($ServiceConfig.Name) -ExternalDataAllowed 2 -WorkbookSizeMax 10

+ CategoryInfo : InvalidData: (Microsoft.Offic...celFileLocation:

SetSPExcelFileLocation) [Set-SPExcelFileLocation], ExcelServerInvalidParam

eterException

+ FullyQualifiedErrorId : Microsoft.Office.Excel.Server.Cmdlet.SetSPExcelF

ileLocation

 

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

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

- Provisioning PowerPoint Service Application...

 

4.

- Completed!

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

| Automated SP2010 install script |

| Started on: 07/19/2011 16:23:05 |

| Completed: 07/19/2011 16:26:09 |

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

- Launching ...

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

Script aborted!

 

Exception : System.Management.Automation.ParameterBindingValidation

Exception: Cannot validate argument on parameter 'FileP

ath'. The argument is null or empty. Supply an argument

that is not null or empty and then try the command aga

in. ---> System.Management.Automation.ValidationMetadat

aException: The argument is null or empty. Supply an ar

gument that is not null or empty and then try the comma

nd again.

at System.Management.Automation.ValidateNotNullOrEmp

tyAttribute.Validate(Object arguments, EngineIntrinsics

engineIntrinsics)

at System.Management.Automation.ParameterBinderBase.

BindParameter(CommandParameterInternal parameter, Compi

ledCommandParameter parameterMetadata, ParameterBinding

Flags flags)

--- End of inner exception stack trace ---

at System.Management.Automation.ParameterBinderBase.

BindParameter(CommandParameterInternal parameter, Compi

ledCommandParameter parameterMetadata, ParameterBinding

Flags flags)

at System.Management.Automation.CmdletParameterBinde

rController.BindParameter(CommandParameterInternal argu

ment, MergedCompiledCommandParameter parameter, Paramet

erBindingFlags flags)

at System.Management.Automation.CmdletParameterBinde

rController.BindParameter(UInt32 parameterSets, Command

ParameterInternal argument, MergedCompiledCommandParame

ter parameter, ParameterBindingFlags flags)

at System.Management.Automation.ParameterBinderContr

oller.BindPositionalParametersInSet(UInt32 validParamet

erSets, Dictionary`2 nextPositionalParameters, CommandP

arameterInternal argument, ParameterBindingFlags flags,

ParameterBindingException& bindingException)

at System.Management.Automation.ParameterBinderContr

oller.BindPositionalParameters(Collection`1 unboundArgu

ments, UInt32 validParameterSets, UInt32 defaultParamet

erSet, Boolean ignoreArgumentsThatLookLikeParameters, P

arameterBindingException& outgoingBindingException)

at System.Management.Automation.CmdletParameterBinde

rController.BindCommandLineParametersNoValidation(Colle

ction`1 arguments)

at System.Management.Automation.CmdletParameterBinde

rController.BindCommandLineParameters(Collection`1 argu

ments)

at System.Management.Automation.CommandProcessor.Bin

dCommandLineParameters(CommandParameterInternal[] param

eters)

at System.Management.Automation.CommandProcessor.Pre

pare(CommandParameterInternal[] parameters)

at System.Management.Automation.CommandProcessorBase

.DoPrepare(CommandParameterInternal[] parameters)

at System.Management.Automation.Internal.PipelinePro

cessor.Start(Boolean incomingStream)

at System.Management.Automation.Internal.PipelinePro

cessor.SynchronousExecuteEnumerate(Object input, Hashta

ble errorResults, Boolean enumerate)

TargetObject :

CategoryInfo : InvalidData: (:) [Start-Process], ParameterBindingValid

ationException

FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.C

ommands.StartProcessCommand

ErrorDetails :

InvocationInfo : System.Management.Automation.InvocationInfo

PipelineIterationInfo : {}

PSMessageDetails :