Error Provisioning the User Profile Service Application on Creating Web App

Sep 19, 2012 at 8:19 PM

**********************
Start der Windows PowerShell-Aufzeichnung
Startzeit:    20120919170836
Benutzername: TEMPLATE\svc_sp_install
Computer:  SHAREPOINT-TEMP (Microsoft Windows NT 6.1.7601 Service Pack 1)
**********************
Die Aufzeichnung wurde gestartet. Die Ausgabedatei ist "C:\Users\svc_sp_install
\Desktop\AutoSPInstaller-2012-09-19_5-08.rtf".
-----------------------------------
| Automated SP2010 install script |
| Started on: 19.09.2012 17:08:36 |
-----------------------------------
 - SharePoint binaries are already installed.
--------------------------------------------------------------
 - Validating user accounts and passwords...
 - Account "TEMPLATE\svc_sp_farm"...Verified.
 - Account "TEMPLATE\svc_sp_service"...Verified.
 - Account "TEMPLATE\svc_sp_app"...Verified.
 - Account "TEMPLATE\svc_sp_mysite"...Verified.
 - Account "TEMPLATE\svc_sp_crawl"...Verified.
 - Account "TEMPLATE\svc_sp_crawl"...Verified.
 - Account "TEMPLATE\svc_sp_crawl"...Verified.
 - Account "TEMPLATE\svc_sp_crawl"...Verified.
--------------------------------------------------------------
--------------------------------------------------------------
 - Creating SQL alias "sql\sharepoint"...
 - Testing access to SQL server/instance/alias: sql\sharepoint
 - Trying to connect to "sql\sharepoint"...Success
 - SQL Server version is: 11.0.2100.60
 - This instance of SQL Server is not clustered
 - Check if TEMPLATE\svc_sp_install has dbcreator server role...Pass
 - Check if TEMPLATE\svc_sp_install has securityadmin server role...Pass
--------------------------------------------------------------
 - Install based on:
 - C:\INSTALL\SP2010\AutoSPInstaller\\AutoSPInstallerInput-SHAREPOINT-TEMP.xml
 - Environment: Dev
 - Version: 3.0.3
--------------------------------------------------------------
 - Disabling Loopback Check...
--------------------------------------------------------------
--------------------------------------------------------------
 - Disabling IE Enhanced Security...
--------------------------------------------------------------
--------------------------------------------------------------
 - Setting services Spooler, AudioSrv and TabletInputService to Manual...
 - Spooler is already stopped and set Manual, no action required.
 - AudioSrv is already stopped and set Manual, no action required.
 - TabletInputService is already stopped and set Manual, no action required.
 - Setting unused services WerSvc to Disabled...
 - WerSvc is already stopped and disabled, no action required.
 - Finished disabling services.
--------------------------------------------------------------
--------------------------------------------------------------
 - Not changing CRL check behavior.
--------------------------------------------------------------
--------------------------------------------------------------
 - SP2010 prerequisites appear be already installed - skipping install.
--------------------------------------------------------------
--------------------------------------------------------------
 - Configuring IIS logging...
 - D:\SharePoint_Logs\IIS is already compressed.
--------------------------------------------------------------
--------------------------------------------------------------
 - SP2010 binaries appear to be already installed - skipping installation.
--------------------------------------------------------------
--------------------------------------------------------------
 - Installing SharePoint Language Packs:
 - Language Pack installation complete.
 - Currently installed languages:
  - Englisch (USA)
  - Deutsch (Deutschland)
--------------------------------------------------------------
 - SharePoint 2010 binary file installation done!
--------------------------------------------------------------
 - Adding TEMPLATE\svc_sp_farm to local Administrators (only for install)...
 - TEMPLATE\svc_sp_farm is already a member of "Administratoren".
--------------------------------------------------------------
--------------------------------------------------------------
 - Loading SharePoint Powershell Snapin
--------------------------------------------------------------
--------------------------------------------------------------
 - Checking farm membership for SHAREPOINT-TEMP in "SP_Config"...
 - SHAREPOINT-TEMP is already joined to farm on "SP_Config".
--------------------------------------------------------------
--------------------------------------------------------------
 - Configuring the SharePoint farm/server...
 - Installing Help Collection...
  - Waiting for Help Collection Installation timer job......Started.
  - Waiting for Help Collection Installation timer job to complete: 0%...     0%...     0%...     0%...     0%...     0%...     0%...     0%...     0%...     0%...     0%...     1%...     1%...     1%...     1%...     1%...     1%...     1%...     1%...     1%...     1%...     1%...     2%...     2%...     2%...     2%...     2%...     2%...     2%...     2%...     2%...     2%...     2%...     3%...     3%...     3%...     3%...     3%...     3%...     3%...     3%...     3%...     3%...     3%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     4%...     5%...     5%...     5%...     5%...     5%...     5%...     5%...     5%...     5%...     5%...     5%...     6%...     6%...     6%...     6%...     6%...     6%...     6%...     6%...     6%...     6%...     6%...     7%...     7%...     7%...     7%...     7%...     7%...     7%...     7%...     7%...     7%...     7%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     8%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     9%...     10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      10%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      11%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      12%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      13%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      14%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      15%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      16%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      17%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      18%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      19%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      20%...      21%...      21%...      21%...      21%...      21%...      21%...      21%...      21%...      21%...      21%...      21%...      22%...      22%...      22%...      22%...      22%...      22%...      22%...      22%...      22%...      22%...      22%...      23%...      23%...      23%...      23%...      23%...      23%...      23%...      23%...      23%...      23%...      23%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      24%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      25%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      26%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      27%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      28%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      29%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      30%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      31%...      32%...      32%...      32%...      32%...      32%...      32%...      32%...      32%...      32%...      32%...      32%...      33%...      33%...      33%...      33%...      33%...      33%...      33%...      33%...      33%...      33%...      33%...      34%...      34%...      34%...      34%...      34%...      34%...      34%...      34%...      34%...      34%...      34%...      35%...      35%...      35%...      35%...      35%...      35%...      35%...      35%...      35%...      35%...      35%...      36%...      36%...      36%...      36%...      36%...      36%...      36%...      36%...      36%...      36%...      36%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      37%...      38%...      38%...      38%...      38%...      38%...      38%...      38%...      38%...      38%...      38%...      38%...      39%...      39%...      39%...      39%...      39%...      39%...      39%...      39%...      39%...      39%...      39%...      40%...      40%...      40%...      40%...      40%...      40%...      40%...      40%...      40%...      40%...      40%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      41%...      42%...      42%...      42%...      42%...      42%...      42%...      42%...      42%...      42%...      42%...      42%...      43%...      43%...      43%...      43%...      43%...      43%...      43%...      43%...      43%...      43%...      43%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      44%...      45%...      45%...      45%...      45%...      45%...      45%...      45%...      45%...      45%...      45%...      45%...      46%...      46%...      46%...      46%...      46%...      46%...      46%...      46%...      46%...      46%...      46%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      47%...      48%...      48%...      48%...      48%...      48%...      48%...      48%...      48%...      48%...      48%...      48%...      49%...      49%...      49%...      49%...      49%...      49%...      49%...      49%...      49%...      49%...      49%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      50%...      51%...      51%...      51%...      51%...      51%...      51%...      51%...      51%...      51%...      51%...      51%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      52%...      53%...      53%...      53%...      53%...      53%...      53%...      53%...      53%...      53%...      53%...      53%...      54%...      54%...      54%...      54%...      54%...      54%...      54%...      54%...      54%...      54%...      54%...      55%...      55%...      55%...      55%...      55%...      55%...      55%...      55%...      55%...      55%...      55%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      56%...      57%...      57%...      57%...      57%...      57%...      57%...      57%...      57%...      57%...      57%...      57%...      58%...      58%...      58%...      58%...      58%...      58%...      58%...      58%...      58%...      58%...      58%...      59%...      59%...      59%...      59%...      59%...      59%...      59%...      59%...      59%...      59%...      59%...      Done.
 - Securing Resources...
 - Installing Services...
 - Installing Features...
 - Installing Application Content...
 - Done initial farm/server config.
--------------------------------------------------------------
--------------------------------------------------------------
 - Configuring SharePoint diagnostic (ULS) logging...
 - Setting SharePoint diagnostic (ULS) logging options:
  - DaysToKeepLogs: 30
  - LogMaxDiskSpaceUsageEnabled: True
  - LogDiskSpaceUsageGB: 2
  - LogLocation: D:\SharePoint_Logs\ULS
  - LogCutInterval: 30
 - D:\SharePoint_Logs\ULS is already compressed.
--------------------------------------------------------------
--------------------------------------------------------------
 - Adding Managed Accounts
 - Creating local profile for TEMPLATE\svc_sp_service...Done.
 - Managed account TEMPLATE\svc_sp_service already exists.
 - Creating local profile for TEMPLATE\svc_sp_app...Done.
 - Managed account TEMPLATE\svc_sp_app already exists.
 - Creating local profile for TEMPLATE\svc_sp_mysite...Done.
 - Managed account TEMPLATE\svc_sp_mysite already exists.
 - Creating local profile for TEMPLATE\svc_sp_crawl...Done.
 - Managed account TEMPLATE\svc_sp_crawl already exists.
 - Done Adding Managed Accounts
--------------------------------------------------------------
--------------------------------------------------------------
 - Creating web applications...
 - Web app "TEMPLATE Home" already provisioned.
 - Granting TEMPLATE\svc_sp_service rights to "TEMPLATE Home"...Done.
 - Skipping creation of site "TEMPLATE Home" - already provisioned.
--------------------------------------------------------------
 - Applying object cache accounts to "http://sharepoint-temp:80"...
 - Done applying object cache accounts to "http://sharepoint-temp:80"
 - Setting online webpart catalog access for "http://sharepoint-temp:80"
--------------------------------------------------------------
 - Web app "My TEMPLATE Host" already provisioned.
 - Granting TEMPLATE\svc_sp_service rights to "My TEMPLATE Host"...Done.
 - Skipping creation of site "My TEMPLATE Host" - already provisioned.
--------------------------------------------------------------
 - Applying object cache accounts to "http://myTEMPLATE:80"...
 - Done applying object cache accounts to "http://myTEMPLATE:80"
 - Setting online webpart catalog access for "http://myTEMPLATE:80"
--------------------------------------------------------------
 - Adding HOSTS file entries for local resolution...
 - Backing up HOSTS file to:
 - C:\Windows\System32\drivers\etc\HOSTS.120919172450.copy
 - HOSTS file entry for "sharepoint-temp" already exists - skipping.
 - HOSTS file entry for "myTEMPLATE" already exists - skipping.
 - Deleting HOSTS backup file since no changes were made...
--------------------------------------------------------------
--------------------------------------------------------------
 - State Service Application already provisioned.
--------------------------------------------------------------
--------------------------------------------------------------
 - Forderungen an den Windows-Tokendienst already started.
--------------------------------------------------------------
--------------------------------------------------------------
 - Provisioning User Profile Service Application
 - Starting User Profile Service instance...
 - Creating Web App ""...
New-SPWebApplication : Das Argument kann nicht an den Parameter "Name" gebunden
 werden, da es NULL ist.
Bei C:\INSTALL\SP2010\AutoSPInstaller\AutoSPInstallerFunctions.ps1:1926 Zeichen
:35
+                     New-SPWebApplication -Name <<<<  $MySiteName -Application
PoolAccount $MySiteAppPoolAcct -ApplicationPool $MySiteAppPool -DatabaseServer
$MySiteDBServer -DatabaseName $MySiteDB -HostHeader $MySiteHostHeader -Url $MyS
iteURL -Port $MySitePort -SecureSocketsLayer:$MySiteUseSSL @pathSwitch | Out-Nu
ll
    + CategoryInfo          : InvalidData: (:) [New-SPWebApplication], Paramet
   erBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
   icrosoft.SharePoint.PowerShell.SPCmdletNewSPWebApplication
 
--------------------------------------------------------------
 - Script aborted!
 - Error Provisioning the User Profile Service Application
Press any key to exit...
-----------------------------------
| Automated SP2010 install script |
| Started on: 19.09.2012 17:08:36 |
| Aborted:    19.09.2012 17:24:52 |
-----------------------------------
Press any key to exit...
**********************
Ende der Windows PowerShell-Aufzeichnung
Endzeit: 20120919172452
**********************

Oct 11, 2012 at 5:17 AM

Hi,

I had the exact same error message and it was caused by my changing the value for the web application for the mysite as below. Once i noticed this and changed the value back to WebApplication type="MySiteHost" this resolved my problem and the User profile provisioned properly. - Hope this helps someone.

 

Correct Setting = <WebApplication type="MySiteHost"
                        name="MySite Host"
                        applicationPool="MySites"

Incorrect Setting = <WebApplication type="My"
name="MySite Host"
applicationPool="MySites

Fadious