none
Überlauffehler beim Installieren von Exchange 2010 SP3 und der CAS Rolle RRS feed

  • Frage

  • Beim Ende des Upgrades der CAS Rolle kommt ein Überlauf Fehler und das Setup bricht ab. Im Log steht folgendes.

    12.12.2013 10:09:58.0177] [1] 0.  ErrorRecord: Der Typ [Microsoft.Web.Administration.ServerManager] kann nicht gefunden werden. Stellen Sie sicher, dass die Assembly, die diesen Typ enthält, geladen wird.
    [12.12.2013 10:09:58.0177] [1] 0.  ErrorRecord: System.Management.Automation.PSArgumentException: Der Typ [Microsoft.Web.Administration.ServerManager] kann nicht gefunden werden. Stellen Sie sicher, dass die Assembly, die diesen Typ enthält, geladen wird.
       bei System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
    [12.12.2013 10:09:58.0208] [1] [ERROR] The following error was generated when "$error.Clear();
              function SetConfigurationSectionAttribute([System.String]$sectionPath, [System.String]$locationPath, [System.String]$attributeName, [System.Object]$value)
              {
                $serverManager = New-Object Microsoft.Web.Administration.ServerManager;
                $configuration = $serverManager.GetApplicationHostConfiguration();
                $configurationSection = $configuration.GetSection($sectionPath, $locationPath);
                $configurationSection.GetAttribute($attributeName).Value = $value;
                $serverManager.CommitChanges();
              }

              function SetKernelModeAuth ([System.String]$vdirId, [bool]$kernelModeAuth)
              {
                SetConfigurationSectionAttribute "system.webServer/security/authentication/windowsAuthentication" $vdirID "useKernelMode" $kernelModeAuth;
              }

              function SetBasicAuth ([System.String]$vdirId, [bool]$basicAuth)
              {
                SetConfigurationSectionAttribute "system.webServer/security/authentication/basicAuthentication" $vdirID "enabled" $basicAuth;
              }

              function RequireSsl([System.String]$vdirId)
              {
                SetConfigurationSectionAttribute "system.webServer/security/access" $vdirID "sslFlags" "Ssl,Ssl128";
              }

              #Get the defaul web site name
              $webSiteName = ([System.DirectoryServices.DirectoryEntry]"IIS://Localhost/W3SVC/1").ServerComment;

              Write-ExchangeSetupLog -Info "Disable kernel mode auth for EWS vdir. ";
              $ewsId = "$webSiteName/ews";
              SetKernelModeAuth $ewsId $False;

              Write-ExchangeSetupLog -Info "Disable kernel mode auth for AutoDiscover vdir. ";
              $AutoDiscId = "$webSiteName/AutoDiscover";
              SetKernelModeAuth $AutoDiscId $False;

              Write-ExchangeSetupLog -Info "Disable kernel mode auth for OAB vdir. ";
              $oabId = "$webSiteName/oab";
              SetKernelModeAuth $oabId $False;

              Write-ExchangeSetupLog -Info "Enable basic auth for OAB vdir. ";
              SetBasicAuth $oabId $True;

              Write-ExchangeSetupLog -Info "Enable basic auth for ews vdir. ";
              SetBasicAuth $ewsId $True;

              Write-ExchangeSetupLog -Info "Enable Ssl-required for AutoDiscover vdir. ";
              RequireSsl $AutoDiscId;

              Write-ExchangeSetupLog -Info "Enable Ssl-required for EWS vdir. ";
              RequireSsl $ewsId;

              Write-ExchangeSetupLog -Info "Enable Ssl-required for OAB vdir. ";
              RequireSsl $oabId ;

              Write-ExchangeSetupLog -Info "Enable Ssl-required for OWA vdir. ";
              $owaId = "$webSiteName/owa";
              RequireSsl $owaId;

              Write-ExchangeSetupLog -Info "Enable Ssl-required for ecp vdir. ";
              $ecpId = "$webSiteName/ecp";
              RequireSsl $ecpId;
       
              Write-ExchangeSetupLog -Info "Enable Ssl-required for Exchange vdir. ";
              $exchangeId = "$webSiteName/Exchange";
              RequireSsl $exch

    -------------------------------

    Nach langer Suche ohne Erfolg hoffe ich das mir hier jemand helfen kann.

    Danke vorab

    Markus Arnold


    Donnerstag, 12. Dezember 2013 10:58

Alle Antworten

  • Hallo Markus,

    wir haben das Problem ebenfalls bei zwei SBS 2011 Servern. Eine Lösung haben wir bis jetzt nicht gefunden.

    Microsoft hat bis jetzt laut Aussage von einem Forum-Mitglied bis jetzt auch keine Lösung, die funktioniert.

    Viele Grüße,

    Alex

    Samstag, 1. Februar 2014 13:21