Hi,
looking at your scenario I guess the problem is not due to VLAN misconfiguration. Instead the simultaneous use of both ports 45+46 at your HP switch and 23+24 at your D-Link switch might not work properly. So give it a try and connect the two switches via one port only, e.g. 45 (HP) <---> 23 (D-Link). If this test works, the problem reduces to the correct configuration of a Link Aggregation for the D-Link switch ("Port Trunk") and the HP switch. Maybe one site expects a static Link Aggregation while the other site wants to negotiate the Link Aggregation via LACP.
PT