The IaaS upgrade fails and you cannot continue the upgrade.

Problem

The Iaas upgrade fails for the website component. The following error messages appear in the installer log file.

  • 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.

The following error messages appear in the repository log file.

  • [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()

    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

    at 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)

    at DynamicOps.Repository.Runtime.Common.RepositoryRuntime.Initialize().

Iaas upgrade fails when the creation date for the web.config file is the same as or later than the modified date.

Procedure

  1. Log in to the IaaS website component server as administrator.
  2. Change directories to the vRealize Automation installation folder.
  3. Start your preferred text editor with the Run as Administrator option.
  4. Locate and select the web.config file and save the file to change its file modification date.
  5. Examine the web.config file properties to confirm that the file modification date is later than the creation date.
  6. Upgrade IaaS.