The Enterprise-D had 2 fatal flaws:
1. The ship status displays in Main Engineering advertised the shield frequency for all to see.
2. Apparently, in combat, if the ship takes a couple of hits to the Engineering section, her phaser power is reduced to the point where they have absolutely no impact at all against the shields of a 20-year old Bird of Prey.