简体   繁体   English

部署Asp.NET Core应用程序出现Http 500错误

[英]Deploying Asp.NET Core Application Gives Http 500 Error

I have a Asp.NET Core application(1.0 rc2 preview) and GoDaddy Windows Plesk hosting plan, I tried web deploy, ftp deploy but they gave me the same result which is "There is a problem with the resource you are looking for, and it cannot be displayed." 我有一个Asp.NET Core应用程序(1.0 rc2预览版)和GoDaddy Windows Plesk托管计划,我尝试了Web部署,FTP部署,但是它们给了我相同的结果,即“您正在寻找的资源存在问题,并且它无法显示。”

I thougt maybe there is an error in my code, so I created new project(sample application) and tried to deploy but I got same result: "There is a problem with the resource you are looking for, and it cannot be displayed." 我可能在代码中出现错误,所以我创建了新项目(示例应用程序)并尝试进行部署,但结果却是相同的:“您正在寻找的资源存在问题,无法显示。”

GoDaddy Asp.Net version : 4.6.1 IIS Version: 8.5 GoDaddy Asp.Net版本:4.6.1 IIS版本:8.5

What I have tried so far: 到目前为止我尝试过的是:

I added configuration to web.config 我将配置添加到web.config

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

but this didn't help me. 但这对我没有帮助。 I still got error 500, not detailed error. 我仍然收到错误500,而不是详细错误。

After googling, I found the following when it comes to ASP.NET core, godaddy and plesk: 谷歌搜索之后,当涉及到ASP.NET core,godaddy和plesk时,我发现了以下内容:

Dated : 2016-11-04 日期:2016-11-04

I checked with one of our developers and the integration of Core 1.0 is something we're in the process of considering. 我与一位开发人员进行了核对,我们正在考虑与Core 1.0集成。 However, there's currently no timeframe for when or if this will happen. 但是,目前尚无时间表确定何时或是否会发生这种情况。 It's unfortunate, but I can understand that you may consider another provider if this is a feature you need. 不幸的是,但是我可以理解,如果您需要此功能,则可以考虑其他提供商。 We definitely appreciate the feedback, regardless. 无论如何,我们非常感谢您的反馈。

Link 链接

Full thread here 全线程在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带有依赖注入的构造函数在react asp.net核心应用程序中导致HTTP 500错误 - Constructor with Dependency Injection is causing http 500 error in react asp.net core application 在 ASP.NET Core 中使用 datetime 返回 http 500 错误 - Using datetime in ASP.NET Core returns http 500 error 部署Angular 6 ASP.NET Core应用程序 - Deploying Angular 6 ASP.NET Core application 为什么 ASP.NET 项目在通过 IIS 7 启动时会给出 HTTP 错误 500 - Why ASP.NET Project Gives HTTP Error 500 When Launched Through IIS 7 ASP.NET Core Web API引发HTTP 500 - ASP.NET Core Web API Throws HTTP 500 RequestSizeLimitAttribute: HTTP 500 而不是 ASP.NET Core 2.1.401 中的 413 - RequestSizeLimitAttribute: HTTP 500 instead of 413 in ASP.NET Core 2.1.401 为什么Asp.net核心Web API 2.0返回Http Error 500 - why does Asp.net core Web API 2.0 returns Http Error 500 ASP.NET Core 2.0 Web API 抛出 500 错误并且不允许访问 http 帖子 - ASP.NET Core 2.0 Web API throwing 500 error and not allowing access on http post localhost 当前无法处理此请求。 HTTP 错误 500 - 对于 asp.Net Core - localhost is currently unable to handle this request. HTTP ERROR 500 - For asp.Net Core IIS上部署的ASP.NET Core给出错误:HTTP错误403.14-禁止 - ASP.NET Core deployed on IIS gives error: HTTP Error 403.14 - Forbidden
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM