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

Edited Issue: Error in CheckConfigFiles [21911]

$
0
0
If you don't specify DataDir in the xml this function errors as it tries to remove the trailing '\' from a string that is null.
The line:
$dataDir = $dataDir.TrimEnd("\")
needs to be moved from before the line:
if ([string]::IsNullOrEmpty($dataDir)) {$dataDir = "%PROGRAMFILES%\Microsoft Office Servers\$env:spVer.0\Data"}
to after it.
Comments: ** Comment from web user: brianlala **

Thanks, will be fixed in the next release.

Brian


Viewing all articles
Browse latest Browse all 2279

Trending Articles