BAM Installation Notes.
I want to public some errors that I get when I made the configuration of the feature BAM with BizTalk 2010.
- BAM ERROR – Could not load file or assembly ‘Microsoft.BizTalk.Bam.Portal’ or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
In the event viewer show this
Event code: 3008
Event message: A configuration error has occurred.
Event time: 12/07/2011 01:19:55 p.m.
Event time (UTC): 12/07/2011 06:19:55 p.m.
Event ID: 7e81636267fe4bb58d4dc308137f315e
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Exception message: Could not load file or assembly ‘Microsoft.BizTalk.Bam.Portal, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Solution: After hours of try to solve this,we figured it out, the copy of our BizTalk 2010 was corrupted so we opted to copy this ‘Microsoft.BizTalk.Bam.Portal.dll from other installation with the BAM portal working with the same version, we copy and it work fine. You can also get a fresh copy of BizTalk Server 2010 and reinstall or repair BizTalk BAM.
- BAM ERROR USER RIGHTS Then the problem was the permissions for the user’s, apparently BAM didn’t assign the right permissions to the user BAM management, so I had to gave to the user the right permission, in a command console I ran this commands.
With bm.exe I granted the permissions, replace domain name of the view and server name.
- bm.exe add-account -Accountname:domain\user – view:ExcALL -Server:Srvtest
- bm.exe add-account -Accountname:domain\user – view:ExcByApplication -Server: Srvtest
- bm.exe add-account -Accountname:domain\user – view:ItineraryView -Server: Srvtest