Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

error MSB3073 in IAAS while upgrading VCAC from 6.0 to 6.1

$
0
0

I followed below blog to upgrade VCAC 6.0.1 to 6.1.0

vCloud Automation Center 6.1 Upgrade (Step-by-Step)

 

Below is the Log from IAAS server while upgrading IAAS components.


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

[5:44:10 AM]Backing up existing website data.

[5:44:10 AM]Upgrading all local server components.

[5:44:10 AM]Installing vCAC Server Setup files on the disk

 

 

[5:44:10 AM]Executing:"C:\Users\User1\AppData\Local\Temp\vCAC\Msi\vCAC-Server-Setup.exe" /s /w /V"/qn ADDLOCAL=Database,Website,ModelManagerWeb,ModelManagerData,ManagerService /norestart /Lvoicewarmup! \"C:\Program Files (x86)\VMware\vCAC\InstallLogs\Server-Setup.log""

[5:45:04 AM]vCAC Server Setup Installation Succeeded, ExitCode:0

 

 

[5:45:04 AM]Execution time:56.519

[5:45:04 AM]Started updating Model Manager Web configuration file.

[5:45:04 AM]Updated Model Manager Web configuration file.

[5:45:04 AM]Updating web.config.

[5:45:05 AM]Started updating website configuration file

[5:45:05 AM]Updated website configuration file.

[5:45:05 AM]Upgrading core repository models.

[5:45:05 AM]Started initializing Repository via RepoReg CLI.

[5:45:08 AM]Microsoft (R) Build Engine version 4.0.30319.18408

[5:45:08 AM][Microsoft .NET Framework, version 4.0.30319.18408]

[5:45:08 AM]Copyright (C) Microsoft Corporation. All rights reserved.

[5:45:08 AM]

[5:45:09 AM]Build started 5:45:09 AM.

[5:45:10 AM]Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" on node 1 (UpdateRepo target(s)).

[5:45:10 AM]UpdateRepo:

[5:45:10 AM]  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Reporeg.exe" Update-MetaModel -s "localhost" -d "vcac"  --Filename "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v

[5:45:11 AM]  [Repo Reg]Running SQL Commands

[5:45:11 AM] 

[5:45:13 AM]  [Repo Reg]Initialize Repository Model

[5:45:13 AM] 

[5:45:17 AM]  [Repo Reg]Initialize Security Model

[5:45:17 AM] 

[5:45:18 AM]  [Repo Reg]Initialize TrackingModel

[5:45:18 AM] 

[5:45:18 AM]  [Repo Reg]Initialize Core Model

[5:45:18 AM] 

[5:45:18 AM]  [Repo Reg]Done

[5:45:18 AM] 

[5:45:20 AM]Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (UpdateRepo target(s)).

[5:45:20 AM]

[5:45:20 AM]Build succeeded.

[5:45:20 AM]    0 Warning(s)

[5:45:20 AM]    0 Error(s)

[5:45:20 AM]

[5:45:20 AM]Time Elapsed 00:00:10.94

[5:45:20 AM]Initialized repository.

[5:45:31 AM]Info: Performed IIS administrative task.

[5:45:31 AM]Upgrading all models.

[5:45:31 AM]Started initializing Repository via RepoReg CLI.

[5:45:31 AM]Microsoft (R) Build Engine version 4.0.30319.18408

[5:45:31 AM][Microsoft .NET Framework, version 4.0.30319.18408]

[5:45:31 AM]Copyright (C) Microsoft Corporation. All rights reserved.

[5:45:31 AM]

[5:45:31 AM]Build started 5:45:31 AM.

[5:45:31 AM]Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" on node 1 (InstallRepoModel target(s)).

[5:45:31 AM]UnInstallRepoModel:

[5:45:31 AM]   UnInstallRepoModel target is running -------------------

[5:45:31 AM]  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v

[5:46:01 AM]  System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html>

[5:46:01 AM]  <html>

[5:46:01 AM]      <head>

[5:46:01 AM]          <title>Could not load file or assembly 'DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</title>

[5:46:01 AM]          <meta name="viewport" content="width=device-width" />

[5:46:01 AM]          <style>

[5:46:01 AM]           body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

[5:46:01 AM]           p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

[5:46:01 AM]           b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

[5:46:01 AM]           H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

[5:46:01 AM]           H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

[5:46:01 AM]           pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}

[5:46:01 AM]           .marker {font-weight: bold; color: black;text-decoration: none;}

[5:46:01 AM]           .version {color: gray;}

[5:46:01 AM]           .error {margin-bottom: 10px;}

[5:46:01 AM]           .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

[5:46:01 AM]           @media screen and (max-width: 639px) {

[5:46:01 AM]            pre { width: 440px; overflow: auto; white-sp ******  pre-wrap; word-wrap: break-word; }

[5:46:01 AM]           }

[5:46:01 AM]           @media screen and (max-width: 479px) {

[5:46:01 AM]            pre { width: 280px; }

[5:46:01 AM]           }

[5:46:01 AM]          </style>

[5:46:01 AM]      </head>

[5:46:01 AM] 

[5:46:01 AM]      <body bgcolor="white">

[5:46:01 AM] 

[5:46:01 AM]              <span><H1>Server Error in '/Repository' Application.<hr width=100% size=1 color=silver></H1>

[5:46:01 AM] 

[5:46:01 AM]              <h2> <i>Could not load file or assembly 'DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</i> </h2></span>

[5:46:01 AM] 

[5:46:01 AM]              <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

[5:46:01 AM] 

[5:46:01 AM]              <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

[5:46:01 AM] 

[5:46:01 AM]              <br><br>

[5:46:01 AM] 

[5:46:01 AM]              <b> Exception Details: </b>System.IO.FileLoadException: Could not load file or assembly 'DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)<br><br>

[5:46:01 AM] 

[5:46:01 AM]              <b>Source Error:</b> <br><br>

[5:46:01 AM] 

[5:46:01 AM]              <table width=100% bgcolor="#ffffcc">

[5:46:01 AM]                 <tr>

[5:46:01 AM]                    <td>

[5:46:01 AM]                        <code>

[5:46:01 AM] 

[5:46:01 AM]  An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>

[5:46:01 AM] 

[5:46:01 AM]                    </td>

[5:46:01 AM]                 </tr>

[5:46:01 AM]              </table>

[5:46:01 AM] 

[5:46:01 AM]              <br>

[5:46:01 AM] 

[5:46:01 AM]              <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc' could not be loaded.<br><br>

[5:46:01 AM] 

[5:46:01 AM]              <table width=100% bgcolor="#ffffcc">

[5:46:01 AM]                 <tr>

[5:46:01 AM]                    <td>

[5:46:01 AM]                        <code><pre>

[5:46:01 AM] 

[5:46:01 AM]  WRN: Assembly binding logging is turned OFF.

[5:46:01 AM]  To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

[5:46:01 AM]  Note: There is some performance penalty associated with assembly bind failure logging.

[5:46:01 AM]  To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

[5:46:01 AM]  </pre></code>

[5:46:01 AM] 

[5:46:01 AM]                    </td>

[5:46:01 AM]                 </tr>

[5:46:01 AM]              </table>

[5:46:01 AM] 

[5:46:01 AM]              <br>

[5:46:01 AM] 

[5:46:01 AM]              <b>Stack Trace:</b> <br><br>

[5:46:01 AM] 

[5:46:01 AM]              <table width=100% bgcolor="#ffffcc">

[5:46:01 AM]                 <tr>

[5:46:01 AM]                    <td>

[5:46:01 AM]                        <code><pre>

[5:46:01 AM] 

[5:46:01 AM]  [FileLoadException: Could not load file or assembly &#39;DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc&#39; or one of its dependencies. The located assembly&#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

[5:46:01 AM]     System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0

[5:46:01 AM]     System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +210

[5:46:01 AM]     System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +242

[5:46:01 AM]     System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +17

[5:46:01 AM]     System.Reflection.Assembly.Load(String assemblyString) +35

[5:46:01 AM]     DynamicOps.Repository.Runtime.Common.AssemblyHelpers.CacheAndLoadAssemblyFiles(Model model) +713

[5:46:01 AM]     DynamicOps.Repository.Runtime.ServiceModel.Activation.RepositoryDataServiceHostFactory.GenerateServiceType(Model model) +1042

[5:46:01 AM]     DynamicOps.Repository.Runtime.ServiceModel.Activation.RepositoryDataServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +59

[5:46:01 AM]     System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1435

[5:46:01 AM]     System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +76

[5:46:01 AM]     System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +767

[5:46:01 AM] 

[5:46:01 AM]  [ServiceActivationException: The service &#39;/Repository/Data/MetaModel.svc&#39; cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly &#39;DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc&#39; or one of its dependencies. The located assembly&#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).]

[5:46:01 AM]     System.Runtime.AsyncResult.End(IAsyncResult result) +381

[5:46:01 AM]     System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +495

[5:46:01 AM]     System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166

[5:46:01 AM]  </pre></code>

[5:46:01 AM] 

[5:46:01 AM]                    </td>

[5:46:01 AM]                 </tr>

[5:46:01 AM]              </table>

[5:46:01 AM] 

[5:46:01 AM]              <br>

[5:46:01 AM] 

[5:46:01 AM]              <hr width=100% size=1 color=silver>

[5:46:01 AM] 

[5:46:01 AM]              <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408

[5:46:01 AM] 

[5:46:01 AM]              </font>

[5:46:01 AM] 

[5:46:01 AM]      </body>

[5:46:01 AM]  </html>

[5:46:01 AM]  <!--

[5:46:01 AM]  [FileLoadException]: Could not load file or assembly &#39;DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc&#39; or one of its dependencies. The located assembly&#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

[5:46:01 AM]     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

[5:46:01 AM]     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

[5:46:01 AM]     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)

[5:46:01 AM]     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

[5:46:01 AM]     at System.Reflection.Assembly.Load(String assemblyString)

[5:46:01 AM]     at DynamicOps.Repository.Runtime.Common.AssemblyHelpers.CacheAndLoadAssemblyFiles(Model model)

[5:46:01 AM]     at DynamicOps.Repository.Runtime.ServiceModel.Activation.RepositoryDataServiceHostFactory.GenerateServiceType(Model model)

[5:46:01 AM]     at DynamicOps.Repository.Runtime.ServiceModel.Activation.RepositoryDataServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)

[5:46:01 AM]     at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

[5:46:01 AM]     at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

[5:46:01 AM]     at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

[5:46:01 AM]  [ServiceActivationException]: The service &#39;/Repository/Data/MetaModel.svc&#39; cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly &#39;DynamicOps.Repository.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b6e51ea3eb1deebc&#39; or one of its dependencies. The located assembly&#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

[5:46:01 AM]     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

[5:46:01 AM]     at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

[5:46:01 AM]     at System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar)

[5:46:01 AM]  -->

[5:46:01 AM]     at System.Data.Services.Client.QueryResult.ExecuteQuery()

[5:46:01 AM]     at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)

[5:46:01 AM]     --- End of inner exception stack trace ---

[5:46:01 AM]     at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)

[5:46:01 AM]     at System.Data.Services.Client.DataServiceQuery`1.Execute()

[5:46:01 AM]     at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()

[5:46:01 AM]     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)

[5:46:01 AM]     at System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton[TElement](Expression expression)

[5:46:01 AM]     at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)

[5:46:01 AM]     at DynamicOps.Tools.Common.ModelHelpers.UninstallModel(String fileName, String httpRootRepository)

[5:46:01 AM]     at DynamicOps.Tools.Repoutil.Commands.ModelUninstallCommand.Execute(CommandLineParser parser)

[5:46:01 AM]  Warning: Non-zero return code. Command failed.

[5:46:01 AM]C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(864,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v" exited with code 1.

[5:46:01 AM]Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target(s)) -- FAILED.

[5:46:01 AM]

[5:46:01 AM]Build FAILED.

[5:46:01 AM]

[5:46:01 AM]"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target) (1) ->

[5:46:01 AM](UnInstallRepoModel target) ->

[5:46:01 AM]  C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(864,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v" exited with code 1.

[5:46:01 AM]

[5:46:01 AM]    0 Warning(s)

[5:46:01 AM]    1 Error(s)

[5:46:01 AM]

[5:46:01 AM]Time Elapsed 00:00:29.87

[5:46:01 AM]Failed to initialize repository.

[5:46:01 AM]

 

 

 

 

[5:46:01 AM]

 

 

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

 

Hoping for solution.

 

Thanks,

Ram.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>