SCCM 2012: Fehler bei der Installation der Portalwebseite (Error Code: 126)

basket-fullEin neues Feature von System Center Configuration Manager (SCCM) 2012 ist die Shoppingwebseite für den Endanwender. Auf dieser Seite kann er freigegebene Software seinen Geräten zuweisen. Je nach Einstellung muss diese Anforderung vorher genehmigt werden.

Diese Funktion wird als zusätzliche Rolle einem SCCM Server hinzugefügt. Beim Hinzufügen wird diese (wie üblich) nicht direkt installiert, sondern nur eine Installationsanforderung erstellt. Die Installation erfolgt dann asynchron im Hintergrund. Hierbei kann es passieren, dass die Installation auch nach einiger Zeit nicht erfolgreich abgeschlossen wird. Wie immer gibt es dann im SCCM reichlich Logs, in denen man nachschauen kann.

In diesem Fall ist es die Datei Smsportalwebsetup.log im Log Verzeichnis unterhalbe des SCCM Hauptordners.

Die Fehlermeldung stellt sich dort so dar:

<01-31-2012 09:53:25> ====================================================================
<01-31-2012 09:53:25> SMSPORTALWEB Setup Started....
<01-31-2012 09:53:25> Parameters: C:\Program Files\Microsoft Configuration Manager\bin\x64\rolesetup.exe /install /siteserver:SCCM2012 SMSPORTALWEB 1
<01-31-2012 09:53:25> Installing Pre Reqs for SMSPORTALWEB
<01-31-2012 09:53:25>         ======== Installing Pre Reqs for Role SMSPORTALWEB ========
<01-31-2012 09:53:25> Found 1 Pre Reqs for Role SMSPORTALWEB
<01-31-2012 09:53:25> Pre Req SqlNativeClient found.
<01-31-2012 09:53:25> SqlNativeClient already installed (Product Code: {7097C080-2EC8-4D3C-9CEB-498090D34FB0}). Would not install again.
<01-31-2012 09:53:25> Pre Req SqlNativeClient is already installed. Skipping it.
<01-31-2012 09:53:25>         ======== Completed Installation of Pre Reqs for Role SMSPORTALWEB ========
<01-31-2012 09:53:25> Installing the SMSPORTALWEB
<01-31-2012 09:53:25> Passed OS version check.
<01-31-2012 09:53:25> IIS Service is installed.
<01-31-2012 09:53:25> Checking whether IIS windows authentication component is installed
<01-31-2012 09:53:25> IIS component Windows Authentication is installed
<01-31-2012 09:53:25> Checking whether IIS ASP.NET component is installed
<01-31-2012 09:53:25> IIS component ASP.NET is installed
<01-31-2012 09:53:25> Checking whether IIS ASP.NET is registered
<01-31-2012 09:53:25>  Error: IIS ASP.NET is not registered
<01-31-2012 09:53:25>  Installation Failed. Error Code: 126
<01-31-2012 09:53:25> ~RoleSetup().

Natürlich wurde das ASP.Net 4 Setup bereits vor der Installation ausgeführt. Die ASP.Net Rolle ist ebenfalls im IIS aktiviert. Das Problem ist aber schnell gelöst, da im IIS zwar das ASP.Net 2 Framework registriert ist, aber nicht mehr das neuere und benötigte ASP.Net 4. Lösung ist wie üblich:

  • Aufrufen einer Administrativen Kommandozeile
  • Wechseln in das ASP.Net Verzeichnis (cd %systemroot%\Microsoft.NET\Framework64\v4.0.30319)
  • Registrieren der ASP Komponenten im IIS durch aspnet_regiis.exe -i
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i
Start installing ASP.NET (4.0.30319).
.......
Finished installing ASP.NET (4.0.30319).
This entry was posted in Configuration Manager, Deutsch, System Center, System Center 2012 and tagged , , . Bookmark the permalink.

2 Responses to SCCM 2012: Fehler bei der Installation der Portalwebseite (Error Code: 126)

  1. Pingback: SMS Component Manager failed to install component SMS_PORTALWEB_CONTROL_MANAGER on server . The IIS ASP.NET is not registered correctly « Learning every day…

  2. Hi Markus,
    Thanks for this posting, i had the same error but wasn’t sure which .NET version to re-register.
    Regards,
    Rik

Leave a Reply to Rik van Berendonk Cancel reply