Note: I posted that on Technet and no one could answer so I am posting it here.
I have a ASP web site linked to a MySQL database that works very well under
IIS 6.0 but as soon as I try to transfer it to IIS 7.0, I get an Internal
error 500 page.
I worked with a web developer friend of mine and together we validated that
the MySQL database is responding correctly, that all the paths are OK and as
for myself, I made sure that standard IIS permissions were applied to the web
folders. Mainly, the error occurs as soon as the ASP code tries to read an
image from a sub-folder in the web site (such as
Despite all of our efforts, the site still fails to load because it stops when reading the images. However, my
programmer told me about a value that he had changed from "none" to "scripts
only" in IIS 6.0 that was interfering with some of his web sites.
It was in the "Home Directory" tab of a particular web site properties in
The description is as follows:
Application name: website.com application
Starting point: <website.com>
Execute permissions: Scripts only (changed from None)
Application pool: Shared_ASPNET2.0_AppPool
Just making this change from None to Scripts only fixed the problem and he
demonstrated it to me with a non-production web site with similar code in IIS
6.0. However, we are not able to locate this menu/value/field within IIS 7.0.
I am not a web developer myself but since the web site is working just fine
under IIS 6.0, I must assume that this is some kind of permission issue since
we validated that the ASP code itself is not the cause (he's the programmer,
not me..). I tried every Windows permissions as possible (even admin rights
to all web folders) without any luck. I also checked that my server has all
the appropriate components installed although some of them are not enabled:
- Custom logging, ODBC logging, Client Certification mapping authentication,
IIS client certificate mapping authentication, URL authorization and IIS
Management Scripts and tools.
Does anyone has a clue how to make that web site work under IIS 7.0?