Serial numbers for Stronghold 2 are unique to each copy of the game, which means nobody else's key will unlock your installation. Before anything else, check the CD case, the printed manual, and any paperwork that came in the box — that is where the key is normally printed.
If the disc and packaging are long gone, your remaining options are slim. Some publishers will help you recover a key if you registered the product, so it is worth contacting the developer's support team with your proof of purchase. Beyond that, you are realistically looking at buying another copy, because there is no legitimate way to generate a matching serial.