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

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" `
```

Viewing all articles
Browse latest Browse all 2279

Trending Articles



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