From: benjilafouine on
Hi,

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
websiterootfolder\images\suppliers\image.jpg).

Despite all of our efforts, the site still fails to load. 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
IIS 6.0.

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?

Thanks.

Benji.

From: Ken Schaefer on
Hi,

Disable "Show Friendly HTTP errors" in your browser (if you are using IE)
Then hit the website locally on the server (or change IIS 7.0 config to show
errors remotely)

That will probably give you a standard ASP 500 explanation for what the
problem is.

Otherwise, enable Request Tracing (FREB) to see what the error is, if you
can't risk showing errors remotely

Cheers
Ken


"benjilafouine" <benjilafouine(a)discussions.microsoft.com> wrote in message
news:4AC872FD-FDF0-4C23-AEF1-64C3EC48E04B(a)microsoft.com...
> Hi,
>
> 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
> websiterootfolder\images\suppliers\image.jpg).
>
> Despite all of our efforts, the site still fails to load. 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
> IIS 6.0.
>
> 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?
>
> Thanks.
>
> Benji.
>
From: BjjL on
Hi there,

Just a wild guess, but is your IIS 7.0 running in a 64 Bit environment? If
yes, make sure that your AppPool can run 32 Bit Applications, or else you
will run into problems as described.

Just for reference, take a look over there:
http://blogs.msdn.com/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx




"benjilafouine" <benjilafouine(a)discussions.microsoft.com> wrote in message
news:4AC872FD-FDF0-4C23-AEF1-64C3EC48E04B(a)microsoft.com...
> Hi,
>
> 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
> websiterootfolder\images\suppliers\image.jpg).
>
> Despite all of our efforts, the site still fails to load. 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
> IIS 6.0.
>
> 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?
>
> Thanks.
>
> Benji.
>