Problems with BAM Portal

After configurating the BAM portal I was still getting this error:

The server encountered a critical failure while trying to access the list of Views. The Business Management Web Service requires Administrator’s attention.

Use the navigation bar on the left to access Business Activity Monitoring views.
If the problem persists, contact your System Administrator.

Normally this would be resolved by editing the config files of the 2 webservices:

<identity impersonate=”true” password=”<strong>registry:HKLMSOFTWAREMicrosoftBizTalk Server3.0BAMWebServicesidentityASPNET_SETREG,password</strong>” userName=”<strong>registry:HKLMSOFTWAREMicrosoftBizTalk Server3.0BAMWebServicesidentityASPNET_SETREG,userName</strong>” />

(see here for more details)

The error in the event viewer was:

(BAMPortal.navbar_ascx) Void OnPreRender(System.EventArgs): System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.BizTalk.Bam.WebServices.ManagementService.BamManagementService.GetViewSummaryForCurrentUser()
at Microsoft.BizTalk.Bam.Portal.DataAccess.BamDefinition.BuildViewsCollection()
at Microsoft.BizTalk.Bam.Portal.DataAccess.BamDefinition.EnsureViewsCollection()
at Microsoft.BizTalk.Bam.Portal.DataAccess.BamDefinition.get_Views()
at BAMPortal.navbar_ascx.OnPreRender(EventArgs e)

Connecting at port 8888???? Fiddler? So iis default uses the machines proxy settings of IE. Starting fiddler and the BAM was running! (or changing the proxy settings)


Leave a Reply

Your email address will not be published. Required fields are marked *