現在Azure VM上でWindows Server 2012にSQL Server 2012 SP1をインストールしようとしているのですが、以下のエラーが出てインストールできません。
Exception type: Microsoft.SqlServer.Configuration.SetupExtension.InvalidLicenseFilePathException
Message:
The SQL Server license agreement cannot be located for the selected edition, EVAL. This could be a result of corrupted media or the edition being unsupported by the media.
HResult : 0x858c001b
FacilityCode : 1420 (58c)
ErrorCode : 27 (001b)
Data:
SQL.Setup.FailureCategory = InputSettingValidationFailure
editionValue = EVAL
WatsonData = Microsoft.SqlServer.Configuration.SetupExtension.InvalidLicenseFilePathException@27
DisableWatson = true
Stack:
at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
at Microsoft.SqlServer.Configuration.BootstrapExtension.ValidateChainerSettingAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
The following error occurred:
The SQL Server license agreement cannot be located for the selected edition, EVAL. This could be a result of corrupted media or the edition being unsupported by the media.
Error result: -2054422501
Result facility code: 1420
Result error code: 27
Please review the summary.txt log for further details PowerShellスクリプトでインストールは自動化しているのですが、オンプレミス、AWSではきちんと動くのに、Azure上では動きません。
インストールメディアメディアが壊れているのかも?と思い再度アップロードしましたが、状況改善せず。検索してみると以下の報告されている問題と一緒のようです。
Azureには現在英語版のイメージしか提供されていないので英語版のイメージを展開後に日本語にして使っているのですが、それが原因なのかもしれません。でも、ちょっと前のイメージですが、Azure VMに対してSQL Serverを正常にインストールできているケースがあるのを知ってるんですよね。バージョンにも依存してるんでしょうか…。
仕方がないので、とりあえず英語版のSQL Server 2012 SP1評価版に入れ替えてみて挙動を見てみようとしているところです。
(2014/02/08追記)やはり、英語版のSQL Serverのインストーラーならインストールに成功しました。これは困りました。ワークアラウンドが無いと厳しいです。
(2014/02/12追記)英語OSの環境であっても、RemotePowerShellでアクセスする環境であっても、きちんと各種のロケールを変更しておけば大丈夫というコメントを某所から頂きました。すえにシステム、ユーザー毎のロケール設定は日本語に変更済みだったのですが、その後、ドメイン参加し、新しいユーザーのクレデンシャルを使ってのRemote PowerShellでのアクセスだったので、ユーザーのロケールが日本語になっていなかったのかもしれません。この辺り含めて追試予定です。