cancel
Showing results for 
Search instead for 
Did you mean: 

Error when using NWAdmin.exe DelegateAllTasks

Issue

When executing NWAdmin.exe -o DelegateAllTasks -currentUser Domain\Currentuser -newUser Domain\NewUser -siteUrl "https://siteurl<https://siteurl>" -comments "" -sendNotification true, the following error might occurs:

<script type="text/javascript">RegisterSod("strings.js", "\u002f_layouts\u002f15
\u002f1033\u002fstrings.js?rev=k\u00252FSaOdWtcHDDvsb\u00252FUFykOA\u00253D\u002
53DTAG0");</script>
<script type="text/javascript">RegisterSod("sp.res.resx", "\u002f_layouts\u002f1
5\u002f1033\u002fsp.res.js?rev=MbB92HT8biYuFa\u00252B1vTMilA\u00253D\u00253DTAG0
");</script>
<script type="text/javascript">RegisterSod("sp.runtime.js", "\u002f_layouts\u002
f15\u002fsp.runtime.js?rev=zvYN9sLbPYKc6PnMy8BJSA\u00253D\u00253DTAG0");Register

Resolution

Verify that the -siteUrl to make sure it's not a double URL.

For example:
Incorrect: 
-siteUrl "https://siteurl<https://siteurl>"

Correct:
-siteUrl "https://siteurl"

Labels: (2)
Version history
Revision #:
50 of 50
Last update:
‎03-06-2020 08:03 AM
Updated by: