Error deploying BizTalk Application - Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

StackOverflow https://stackoverflow.com/questions/3460750

  •  27-09-2019
  •  | 
  •  

Question

Any idea why I would be getting this Access Denied Exception?

I'm deploying a very basic BizTalk 2009 project from Visual Studio.

error DEPLOY:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

error DEPLOY: at Microsoft.BizTalk.Gac.Fusion.IAssemblyCache.InstallAssembly(AssemblyCacheInstallFlag flags, String manifestFilePath, FusionInstallReference referenceData) at Microsoft.BizTalk.Gac.Gac.InstallAssembly(String assemblyPathname, Boolean force)
at Microsoft.BizTalk.Deployment.BizTalkAssembly.GacInstall(String assemblyLocation)
at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)

error DEPLOY: Unspecified exception: "
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

error DEPLOY: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

: PerformingEndChangeRequestsWithRollBack

error DEPLOY: Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Was it helpful?

Solution

Use Run As -> Administrator for Visual Studio. You must have Admin privileges to deploy BizTalk assemblies (since they deploy to the GAC).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top