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

Commented Issue: New-SPConfigurationDatabase: Value cannot be null Parameter name: password [19642]

$
0
0
When I try to execute the latest AutoSPInstaller script 3.86 I get the following error in the Step "Creating config database"

- Creating config database "SPTEST_Config"...
New-SPConfigurationDatabase : Value cannot be null.
Parameter name: password
At \\C:\AutoSPInstaller\AutoSPInstallerFunctions.ps1:1152 char:13
+ New-SPConfigurationDatabase -DatabaseName "$configDB"
-DatabaseServe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase:
SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], Argumen
tNullException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
figurationDatabase

--------------------------------------------------------------
- Script halted!
- Error creating new farm configuration database

In my AutoSPInstallerInput File the farm account and it's password are defined. Has anyone an idea what could cause this error?
Comments: ** Comment from web user: dotmit **

I am getting this just using the powershell :/


New Post: configuration.adobePDF.MIMEtype.configure

$
0
0
<AdobePDF>
<iFilter Install="false" /> 
  <Icon Configure="false" /> 
  <MIMEType Configure="false" /> 
</AdobePDF>
Question:
There was some error that was generated during the install process and it was related to icon configure so i turned it off during installation. Once I turned if off, the installation went very smoothly.
We are adding new server in the farm.
Does setting all three above option to false create any issue ???

Created Unassigned: DB server with custom port causing error [20423]

$
0
0
I'm having an issue where the script will not continue, apparently because of custom SQL port. My customer is using a custom SQL port, 18000, for their SQL instance. When I add the DB server name to the script, it cannot connect to the database. Since it is a local DB, I remove the name. installation works but when it gets to the step for configuring the farm, I get the error:

- Attempting to join farm on "SP_Config"...
- Script halted!

System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on
parameter 'DatabaseServer'. The argument is null or empty. Supply an argument that is not null
or empty and then try the command again. --->

So far, I can't find any combination that works. if I populate the database server, it doesn't connect and continue. If I leave it blank, the script runs until it tries to configure the farm.

Commented Unassigned: DB server with custom port causing error [20423]

$
0
0
I'm having an issue where the script will not continue, apparently because of custom SQL port. My customer is using a custom SQL port, 18000, for their SQL instance. When I add the DB server name to the script, it cannot connect to the database. Since it is a local DB, I remove the name. installation works but when it gets to the step for configuring the farm, I get the error:

- Attempting to join farm on "SP_Config"...
- Script halted!

System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on
parameter 'DatabaseServer'. The argument is null or empty. Supply an argument that is not null
or empty and then try the command again. --->

So far, I can't find any combination that works. if I populate the database server, it doesn't connect and continue. If I leave it blank, the script runs until it tries to configure the farm.

Version 3.95 running on Windows Server 2012
Comments: ** Comment from web user: rjbenfield **

I was able to get it to work. I had to manually create the alias in SQL and set <DBAlias Create="false">. Seems to be working fine now.

Commented Unassigned: Script halted - Creating Web Application [20325]

$
0
0
Using AutoSPInstaller - 103809

The script halted when attempting to create the "Portal" web application with the following exception (attached image of full error - img1):

Exception: Microsoft.SharePoint.PowerShell,SPCmdletException: _ApplicationPoolAccount is not found._ at System.Management.Automation>mshCommandRuntime. ThrowTerminatingError(ErrorRecorderrorRecord).
Comments: ** Comment from web user: rjbenfield **

I'm having the same issue. Did you ever find a solution?

New Post: Configuring SP Dev VM for Cloning

$
0
0
Howdy!

I am looking for advice on how to configure a SharePoint development vm template (Server 2008 r2; SharePoint 2013 Standard; sql 2012) for cloning.

Scenario
1 2008 domain controller
1 server 2008 r2 vm template (sharepoint, sql)
22 identical developer vm’s – cloned (hyperV) from the above template

We do not want a separate SQL server for multiple reasons.. (22 dev vm’s = 22 instances; developer control over sql; etc)

First attempt to clone:

Autospinstaller was used to deploy SP to the template ( and will be used to install/configure sp on each cloned vm if need be, but prefer to automate as much as possible by cloning the vm due to custom branding, post SP install configuration, etc)

SQL alias was not configured during autospinstall …. The result on the cloned vm (after manually running psconfig.exe) was that the machine could not connect to the configdb. ULS log showed SharePoint Configdb was using the template vm’s servername…

So then I tried to setup the sql alias after the fact… but I believe sql connection strings were already set to the vm template’’s servername, therefore SharePoint tries connecting to the vm template’s original servername).

I am going to have autospinstaller add the SQL alias ‘localhost’ next time around..which is an idea to combat the sql hostname which is hard-coded during the sql install (‘localhost’ stores the server machine name in the connection string(s)). Before doing so, I thought I would pose a question and seek advice/feedback..

In the above scenario, would there be a need to run stsadm -o renameserver -oldservername <oldServerName>-newservername localhost before cloning? Or, would the SQL alias be enough to get through cloning successfully?

Any thoughts or alternative suggestions are welcome….

New Post: Disable CRL - Why only v2.0.50727

$
0
0
Hi All,

First up, big fan of the project.

I've got a 2013 build where we've got CRL errors abounding, Search performance is tanking because it's checking at least once every time someone filters the results.

I've run the CRL disabling code to no effect.

When i looked at the code for the CRL it only processes for the v2.0.5 asp.net. Since 2013 runs under ASP.NET 4 shouldn't this be updating the other/both machine.config files? Or have i missed something?

Thanks,

Alex

Created Unassigned: User Profile Sync does not start: SP2013 [20428]

$
0
0
Installing SP2013 and provisioning UPS does not start the sync however installation of SP2013 manually and using the Configuration wizard seems to work fine.

Sync sits on Starting for a few minutes with error being returned in ULS:

ILM Configuration: Error 'ERR_INVALID_GROUPS'.
UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS pre database, will attempt during next rerun. Exception: System.Configuration.ConfigurationErrorsException: ERR_INVALID_GROUPS at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ValidateConfigurationResult(UInt32 result) at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ConfigureMiisStage1() at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance). UserProfileApplication.SynchronizeMIIS: End setup for 'Intranet User Profile'.

New Post: Disable CRL - Why only v2.0.50727

$
0
0
This makes complete sense - and could explain behavior I've seen recently too re: CRL checks. Will investigate.

Brian

Created Feature: Disable CRL - Why only v2.0.50727 [20430]

$
0
0
Hi All,

First up, big fan of the project.

I've got a 2013 build where we've got CRL errors abounding, Search performance is tanking because it's checking at least once every time someone filters the results.

I've run the CRL disabling code to no effect.

When i looked at the code for the CRL it only processes for the v2.0.5 asp.net. Since 2013 runs under ASP.NET 4 shouldn't this be updating the other/both machine.config files? Or have i missed something?

Thanks,

Alex

Edited Feature: Disable CRL - Why only v2.0.50727 [20430]

$
0
0
Hi All,

First up, big fan of the project.

I've got a 2013 build where we've got CRL errors abounding, Search performance is tanking because it's checking at least once every time someone filters the results.

I've run the CRL disabling code to no effect.

When i looked at the code for the CRL it only processes for the v2.0.5 asp.net. Since 2013 runs under ASP.NET 4 shouldn't this be updating the other/both machine.config files? Or have i missed something?

Thanks,

Alex

New Post: Disable CRL - Why only v2.0.50727

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

New Post: configuration.adobePDF.MIMEtype.configure

$
0
0
iFilter is not required for SharePoint 2013; in 2010 it allows full-text searching of PDF files.. The other two are used (respectively) for displaying the proper icon for PDF files in SharePoint, and to enable opening files directly from SharePoint (rather than having to save them first).

So, no 'issue' if you set them false, you just miss out on certain functionality/user experience.

Brian

New Post: Does AutoSPInstaller support SQL accounts ?

$
0
0
Several service apps don't support using SQL accounts, and AutoSPInstaller itself doesn't support them. Best bet is to set up a one-way trust and use a domain service account that the SQL server understands (i.e. on the same domain as the SQL server.

Brian

Commented Unassigned: CreateAccessServicesApp Function Fails [20345]

$
0
0
If Full-Text Search is not enabled on the SQL Server, the New-SPAccessServiceApplication cmdlet will fail with the following message:

"The Application Database Server does not have the Full-Text Search feature installed."
Comments: ** Comment from web user: brianlala **

This behavior comes from SharePoint itself, and is completely by design. Would happen with or without AutoSPInstaller.

Brian


Closed Unassigned: CreateAccessServicesApp Function Fails [20345]

$
0
0
If Full-Text Search is not enabled on the SQL Server, the New-SPAccessServiceApplication cmdlet will fail with the following message:

"The Application Database Server does not have the Full-Text Search feature installed."

Edited Issue: CreateMachineTranslationServiceApp Function Failing [20343]

$
0
0
This maybe true of other functions that create SharePoint service applications.

Issue:

If using database names that contain spaces, the function fails.

ex: if the service database name is "SharePoint Translation Services", the New-SPTranslationServiceApplication cmdlet will throw an InvalidArgument exception.

To fix:

Change this line:

```
-ServiceNewCmdlet "New-SPTranslationServiceApplication -DatabaseServer $dbServer -DatabaseName $translationDatabase -Default" `
```

with this:

```
-ServiceNewCmdlet "New-SPTranslationServiceApplication -DatabaseServer `"$dbServer`" -DatabaseName `"$serviceDB`" -Default" `
```

Created Issue: Duplicate code [20435]

$
0
0
in multiple places this line of code is repeated...


```
############Duplicate code################
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
#######################################

$serviceDB = $dbPrefix+$serviceConfig.Database.Name
$dbServer = $serviceConfig.Database.DBServer
# If we haven't specified a DB Server then just use the default used by the Farm
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
```

New Post: Duplicate code

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

Edited Issue: Duplicate code [20435]

$
0
0
in multiple places this line of code is repeated...


```
############Duplicate code################
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
#######################################

$serviceDB = $dbPrefix+$serviceConfig.Database.Name
$dbServer = $serviceConfig.Database.DBServer
# If we haven't specified a DB Server then just use the default used by the Farm
If ([string]::IsNullOrEmpty($dbServer))
{
$dbServer = $xmlinput.Configuration.Farm.Database.DBServer
}
```
Viewing all 2279 articles
Browse latest View live