The ESB Management Portal can be frustrating to get up and running. The default error information doens’t really help you with that:
When looking in the event log you might find something more helpful:
Not really as you can see… Better is to disable these custom errors en only show them when browsing the portal remote.
Open the “Web.config” located in “C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal” and find the following section:
Change it to “RemoteOnly” and reload the portal:
This will still show you the well known “The remote server retuned an error: (400) Bad Request." but in addition gives you a stack trace. Given the stack trace, we can see that the exception is caused by the Exception Service.
The solution to this exception will be discussed in the next blog post.