[英]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.
无论如何,我们非常感谢您的反馈。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.