500-在网络解决方案plesk上发布asp.net web应用程序时出现内部服务器错误

500-在网络解决方案plesk上发布asp.net web应用程序时出现内部服务器错误,asp.net,iis,web-applications,web-hosting,plesk,Asp.net,Iis,Web Applications,Web Hosting,Plesk,我已将asp.net项目的所有文件上载到www.networksolutions.com的plesk,当在web浏览器中打开url时,将显示此消息 “500-内部服务器错误。 您正在查找的资源有问题,无法显示。“ 我怎样才能解决这个问题 注意:我正在尝试编辑web.config,但这没有用 这是我的web.config <configuration> <connectionStrings> <add name="ContestConn" connectionStri

我已将asp.net项目的所有文件上载到www.networksolutions.com的plesk,当在web浏览器中打开url时,将显示此消息

“500-内部服务器错误。 您正在查找的资源有问题,无法显示。“

我怎样才能解决这个问题 注意:我正在尝试编辑web.config,但这没有用

这是我的web.config

<configuration>
<connectionStrings>
<add name="ContestConn" connectionString="****" />
</connectionStrings>

<system.web>
    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, 
     PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, 
    Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Windows.Forms, Version=4.0.0.0, 
    Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies> 
    </compilation>


    <customErrors mode="Off"/>
    <compilation debug="true"/>

    </system.web>

    <system.webServer>
    <httpErrors errorMode="Detailed" />
    <asp scriptErrorSentToBrowser="true"/>
    <validation validateIntegratedModeConfiguration="false" />
    <defaultDocument>
    <files>
    <add value="index.aspx" />
    </files>
    </defaultDocument>
    </system.webServer>

    </configuration>

2件你可以在这里做的事情

  • 在发布期间检查事件日志。如果是应用程序问题,将在此处列出例外情况

  • 启用网站的Freb日志和500状态代码。您可以按照本文启用FREB


  • 请在此处共享FREB日志的结果。我可以根据FREB捕获的内容提供更多信息。

    您是否尝试过发布应用程序,然后将发布的文件部署到服务器上?此外,请确保数据库连接字符串正确。