Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP/1.1 New Application Failed

Tags:

asp-classic

i just moved from my old host to Godaddy, which seems to be a worst web host with no support.

i moved my asp website (written in classic asp) to the new godaddy windows hosting. but when i run the site i get the below error

HTTP/1.1 New Application Failed

this site worked perfectly with my previous host.

below is what i have in my web.config file

<?xml version="1.0"?>
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web>
</configuration>

can someone tell me why am i getting that error and how can i fix it?

any help will be appreciated.

like image 570
LiveEn Avatar asked Aug 14 '14 19:08

LiveEn


2 Answers

I had the same issue moving a website from one hosting account (classic windows) to another (plesk), both on GoDaddy. After much headache troubleshooting, I managed to fix it by removing the whole <asp> tag from the web.config file;

    <!-- <asp scriptErrorSentToBrowser="true"/> -->

IIS 8 (only option in plesk) does not support this option altogether and configuring detailed error messaging is done differently using:

    <httpErrors errorMode="Detailed" existingResponse="PassThrough" />

You can find further instructions on this GoDaddy support page

like image 168
jcruz Avatar answered Nov 04 '22 02:11

jcruz


I just encountered the same error this morning after renaming some Websites in IIS. A restart of IIS got my sites up and running again in seconds. Presumably the .config files are read on startup and 'likely' the cause of this error for me.

like image 26
Richard Hetherington Avatar answered Nov 04 '22 02:11

Richard Hetherington