I got following error while deploying BizTalk 2006 R2 project at windows 7. first i was thinking that it is due to BizTalk 2006 is incompatible with windows 7. but that was not true Error is as follow
Error 3
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error 4 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 5 Unspecified exception: ”
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error 6 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error 7 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))
but problem was about rignts to deployment. I did start my visual studio with administrator rights. So Windows 7 did not let vs to gac the dll. how i fix this issue is as below
- Login with your username, but run Visual Studio .NET as an administrator. This is done by right clicking on the short cut for VS.NET and choosing “Run as administrator”.
- Login as administrator
- Turn off the “User Account Control”. This is done by entering “Control Panel” => “User Accounts”. Click on “Turn User Account Control on or off” – and in here you can turn it off. Now, when logged in as a user that i not the administrator, but who is a member of the local administrators group, you get the rights you usually have.
This will true for all BizTalk versions, all windows operating system .
References: http://blog.eliasen.dk/CommentView,guid,f8676603-6680-4158-9e58-2ef45b6ae8e4.aspx