Link to home
Start Free TrialLog in
Avatar of RustyRazor
RustyRazor

asked on

Web.config and classic ASP on Plesk

Hi All:

I trying to move my website to a new host.  It is heavily scripted in ASP.  ASP Error messages on this host do not display except for the general Internal Server Error 500 message.  Digging through server error logs is way more cumbersome than error messages containing line number and error.

The support staff recommended the following web.config file:
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
    <system.web>
        <customErrors mode="On"/>
        <compilation debug="true"/>
    </system.web>
</configuration>

This renders the server unable to execute ASP scripts with the Application Failed error in known functional scripts.  I've tried reducing the file down to just:

<configuration>
    <system.web>
        <customErrors mode="On"/>
    </system.web>
</configuration>

but that doesn't change anything.  Any thoughts?

Also, does Plesk really suck and nobody will admit it?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

IIS7 and later do not have Classic ASP installed by default.  Have you checked to see if it is even installed?  I don't believe that it shows in 'web.config'.
Avatar of RustyRazor
RustyRazor

ASKER

I am able to make ASP scripts run when there's no web.config file.
Your first version above of web.config is exactly what I have on my Godaddy Windows hosting with IIS7 on Server 2008.  My Classic ASP, ASP.NET, and PHP files run fine on it.  I don't remember making any changes to the ASP files except for the database location.
Yes, but this is on Plesk, not IIS.  My lingering theory is the Plesk is a monumental load.
Plesk is a control panel and IIS is the web server.  Plesk may be "a monumental load" but Plesk does not run your code, IIS does.  Only Microsoft's IIS web server runs ASP and ASP.NET.
All I know is that my scripts ran fine on the windows shared hosting environment and didn't run on the Plesk paltform.  The above web.config file caused ASP scripts to crash on the Plesk platform.  As a side thing, Godaddy did not deliver good support for Plesk and they don't seem to understand it and online documentation on the Plesk website is pretty spare.  The user interface on Plesk is more difficult to navigate as well.  Not a fan.

At this point, I've jumped Plesk and returned to the windows shared hosting environment.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial