Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run a website locally in Windows 7 under IIS 7. I have the AppPool configured to use "Classic" mode, but connecting to a MySQL DB that requires SSL fails. If I change the identity to my user account it works perfectly. It fails when using the default "ApplicationPoolIdentity" account. Is there something I'm missing somewhere? Why would running a MySQL query over SSL fail for certain user accounts?

Update: This is the exception that the MySQL Connector is throwing:
"Reading from the stream has failed. Attempted to read past the end of the stream."

share|improve this question
up vote 1 down vote accepted

Can you isolate the issue a bit further? Did you try accessing MySQL DB without SSL? Also, one point to remember here is ApplicationPoolIdentity is not a normal User account, it's a build-in security account with least security privileges.

share|improve this answer
I can access MySQL without SSL. – Jon Tackabury Apr 6 '10 at 18:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.