MySQL special handling for medium trust
If you want (or your webhost wants you) to run AdMentor under medium trust there are a few tweaks you need to take care of.
These steps are better explained in the article Getting MySQL to function in medium trust
You will then need to change the trust level at the wen of the file web.config:
<trust level="Medium"/>