Janakiram M.P. is on a role today with new posts. In this one he tackles Business Portal 5.1 for 64-Bit–Errors.
DynamicsBlogger: BP 5.1 for 64-Bit–Errors
Archived post from 2011. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.