2

ここからこのダウンロード WindowsServerAppFabricSetup_x64.exe を使用して、Windows Server 2012 OS を搭載したマシンに AppFabric 1.1 をインストールしようとしています。

これを試みている間、私はあらゆる種類の問題に遭遇しました。これらは私がこれまでに行ってきたステップであり、各ステップは私を近づけているように見えますが、まだそこにはいません.

  1. インストールを試みる前に、 Windows Update サービスが稼働中であることを確認してください。

  2. PSModule 環境変数に問題がないことを確認します。この問題に関連するいくつかの投稿を見てきましたが、私が見つけた最も簡単な解決策 (最善ではないかもしれません) は、環境変数を完全に削除することです。2012 年 7 月 13 日の Lucas Massena の投稿を参照してください。

  3. "C:\Windows\SysWOW64\inetsrv\" 内に config フォルダーを作成します。これは奇妙な回避策のように思えましたが、私が直面していた問題の 1 つを修正したようです。- これを修正したようです --> エラー: c:\Windows\SysWOW64\inetsrv\config: 指定されたファイルが見つかりません。

投稿への参照。

今、私はこのエラーに遭遇しています:

EXEPATH=c:\Program Files\AppFabric 1.1 for Windows Server\ase40gc.exe PARAMS=/i administration 

 [RunInstaller]
Output: Attempt 1 of 3: SuppressErrors=False
Output: [Initialize]
Output: Info: Initializing for update to administration.config...
Output: Installer **ERROR: 0x80040154 Class not registered**
Output: (Waiting 5 seconds)
Output: Attempt 2 of 3: SuppressErrors=False
Output: [Initialize]
Output: Info: Initializing for update to administration.config...
Output: Installer **ERROR: 0x80040154 Class not registered**
Output: (Waiting 10 seconds)
Output: Attempt 3 of 3: SuppressErrors=False
Output: [Initialize]
Output: Info: Initializing for update to administration.config...
Output: Installer ERROR: 0x80040154 Class not registered
Output: **ERROR: _com_error: 0x80040154**
Output: Exit code: 0x80040154 Class not registered

この実行可能ファイル「c:\Program Files\AppFabric 1.1 for Windows Server\ ase40gc.exe」が何をしているのか、この「クラスが登録されていません」エラーを引き起こしていることを知っている人はいますか? もしそうなら、それを修正するためにどのような手順を実行できますか??

助けてください!

ありがとう

4

1 に答える 1

4

いくつかの .NET Framework 機能を有効にする必要があることがわかりました。これを行うと、AppFabric のインストールが正常に完了しました。

必要な .NET Framework 機能を有効にするには、PowerShell から次のコマンドを実行できます。

Import-Module ServerManager
Add-WindowsFeature -Name AS-NET-Framework
Add-WindowsFeature -Name WAS-NET-Environment

別のインストールの前提条件として AppFabric をインストールしているので、サーバー 2012 で powershell コマンドを実行するために次の C# スクリプトを作成しました (ユーザーは実行する必要がありません)。

using System;
using System.Diagnostics;

namespace ServerManagerFeatures
{
    class Program
    {
        private static ProcessStartInfo startInfo = new ProcessStartInfo();
        private static Process process = new Process();

        public static void Main(string[] args)
        {

            try
            {
                startInfo.FileName = "powershell.exe";
                startInfo.Arguments = "Import-Module ServerManager;"
                startInfo.Arguments += "echo 'Enabling .NET Framework 4.5';  Add-WindowsFeature AS-NET-Framework;";
                startInfo.Arguments += "echo 'Installing .NET Framework 3.5 Environment. This may take several minutes. Please be patient.'; Add-WindowsFeature WAS-NET-Environment; ";
                startInfo.UseShellExecute = true;

                process.StartInfo = startInfo;
                process.Start();
                process.PriorityBoostEnabled = true;
                process.WaitForExit();
            }
            catch (Exception e)
            {
                MessageBox.Show("Error:" + e.Message + " Make sure you have powershell installed and the executable path is stored in the PATH environment variable.");
            }
     }
}
于 2013-04-10T19:54:17.583 に答える