We're building a new server and using IIS 7. PHP pages a served just fine and dandy, but the second we use any code to access a MySQL database, the page hangs for a good minute and serves the following error:
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Our database.php config file is configured correctly, so I can't figure out what might be doing this. MySQL seems to be properly installed as well.
Any ideas? Googling hasn't lead me anywhere useful.