IaaS のアップグレードに失敗し、アップグレードを続行できません。
Web サイト コンポーネントの IaaS アップグレードに失敗します。インストーラ ログ ファイルに次のエラー メッセージが表示されます。
System.Data.Services.Client.DataServiceQueryException:
An error occurred while processing this request. --->
System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html>
<b> Description: </b>An application error
occurred on the server. The current custom error settings for this application
prevent the details of the application error from being viewed remotely (for
security reasons). It could, however, be viewed by browsers running on the
local server machine.
Warning: Non-zero return code. Command failed.
Done Building Project "C:\Program Files
(x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml"
(InstallRepoModel target(s)) -- FAILED.
リポジトリ ログ ファイルに次のエラー メッセージが表示されます。
[Error]: [sub-thread-Id="20"
context="" token=""] Failed to start repository service. Reason:
System.InvalidOperationException: Configuration section encryptionKey is not
protected
at
DynamicOps.Common.Utils.EncryptionHelpers.ReadKeyFromConfiguration(Configuration
config)
at DynamicOps.Common.Utils.EncryptionHelpers.Decrypt(String value)
at DynamicOps.Repository.Runtime.CoreModel.GlobalPropertyItem.Decrypt(Func`2
decryptFunc)
at
DynamicOps.Common.Entity.ContextHelpers.OnObjectMaterializedCallbackEncryptable(Object
sender, ObjectMaterializedEventArgs e)
at
System.Data.Common.Internal.Materialization.Shaper.RaiseMaterializedEvents()
at
System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at
DynamicOps.Repository.Runtime.Common.GlobalPropertyHelper.GetGlobalPropertyItemValue(CoreModelEntities
coreModelContext, String propertyName, Boolean throwIfPropertyNotFound)
at
DynamicOps.Repository.Runtime.CafeClientAbstractFactory.LoadSolutionUserCertificate()
at
DynamicOps.Repository.Runtime.CafeClientAbstractFactory.InitializeFromDb(String
coreModelConnectionString)
DynamicOps.Repository.Runtime.Common.RepositoryRuntime.Initialize()。
Iaas アップグレードは、web.config ファイルの作成日が、変更日と同じまたはそれ以降の日付になっている場合に失敗します。
手順
- IaaS Web サイト コンポーネント サーバに管理者としてログインします。
- vRealize Automation インストール フォルダ ...\VMware\vCAC\ に移動します。
- 管理者として実行 オプションで任意のテキスト エディタを起動します。
- web.config ファイルの場所を特定して選択し、ファイルを保存し直すことで、このファイルの変更日を作成日より後に変更できます。
- web.config ファイルのプロパティを調べて、ファイル変更日が作成日よりも後であることを確認します。
- IaaS をアップグレードします。