HTTP / 1.1新应用程序失败

时间:2021-07-15 05:23:13

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

我刚从原来的主机转移到Godaddy,这似乎是一个没有支持的最差的网络主机。

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

我把我的asp网站(用经典的asp写的)搬到了新的godaddy windows主机上。但是当我运行这个站点时,我得到了下面的错误

HTTP/1.1 New Application Failed

HTTP / 1.1新应用程序失败

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.

如有任何帮助,我们将不胜感激。

2 个解决方案

#1


15  

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;

我有同样的问题,把一个网站从一个主机帐户(经典窗口)移动到另一个(plesk),都在GoDaddy上。在进行了许多令人头痛的故障排除之后,我设法将整个 标记从web中删除。配置文件;

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

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

IIS 8 (plesk中唯一的选项)并不完全支持这个选项,配置详细的错误消息是用以下方法完成的:

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

You can find further instructions on this GoDaddy support page: https://support.godaddy.com/help/article/3430/getting-detailed-errors-on-your-windows-website?countrysite=ca

您可以在这个GoDaddy支持页面上找到进一步的说明:https://support.godaddy.com/help/article/330/getting-detailed -error -on- windows-website? countrysitesite =ca

#2


3  

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.

今天早上我在IIS中重命名了一些网站之后遇到了同样的错误。IIS的重新启动使我的站点在几秒钟内重新启动并运行。假设.config文件在启动时被读取,这对我来说可能是导致这个错误的原因。

#1


15  

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;

我有同样的问题,把一个网站从一个主机帐户(经典窗口)移动到另一个(plesk),都在GoDaddy上。在进行了许多令人头痛的故障排除之后,我设法将整个 标记从web中删除。配置文件;

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

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

IIS 8 (plesk中唯一的选项)并不完全支持这个选项,配置详细的错误消息是用以下方法完成的:

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

You can find further instructions on this GoDaddy support page: https://support.godaddy.com/help/article/3430/getting-detailed-errors-on-your-windows-website?countrysite=ca

您可以在这个GoDaddy支持页面上找到进一步的说明:https://support.godaddy.com/help/article/330/getting-detailed -error -on- windows-website? countrysitesite =ca

#2


3  

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.

今天早上我在IIS中重命名了一些网站之后遇到了同样的错误。IIS的重新启动使我的站点在几秒钟内重新启动并运行。假设.config文件在启动时被读取,这对我来说可能是导致这个错误的原因。