相关疑难解决方法(0)

IIS上的ASP.NET Core 1.0错误502.5

我刚刚将我的服务器(Windows 2012R2)更新.Net Core 1.0 RTM为之前的Windows Hosting包.Net Core 1.0 RC2.我的应用程序在我的电脑上运行没有任何问题,但服务器一直显示:

HTTP Error 502.5 - Process Failure


Common causes of this issue:

The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port
Run Code Online (Sandbox Code Playgroud)

它之前使用过RC2版本.不知道会出现什么问题.

这是所有事件查看器说:

Failed to start process with the commandline 'dotnet .\MyWebApp.dll'. Error code = '0x80004005'.
Run Code Online (Sandbox Code Playgroud)

最糟糕的是应用程序日志是空的!我的意思是那些stdout_xxxxxxxxx.log文件是完全空的,并且都有0字节大小.

我该怎么办??如果没有记录错误,我怎么知道错误原因?

c# iis windows2012 asp.net-core

112
推荐指数
6
解决办法
12万
查看次数

500.19 - 内部服务器错误 - 无法访问请求的页面,因为页面的相关配置数据无效

在每个人都读到这篇文章之前,我只是想说我知道那里有相关的主题,但我要么尝试过,要么不明白.据说这里什么都没有......

我想在我的IIS中运行一个MVC Web App.不幸的是,我完全坚持这个错误:

HTTP Error 500.19 - Internal Server Error

The Request page cannot be accessed becasue the related configuration data for 
the page is invalid.

Module: IIS Web Core
Notification: BeginRequest
Handler: Not yet determined
Error Code: 0x80070005
Config Error: Cannot read configuration file due to insufficient permissions
Config File: \foo\web.config
Request URL: http://localhost/WEBAPP
Logon Method: Not yet determined
Logon User: Not yet determined

Config Source
-1:
0:
Run Code Online (Sandbox Code Playgroud)

我不太清楚还能做什么.我也试过给web.config文件提供读取权限,但似乎没有用.

如果有人有任何信息或能够帮助我完成这项工作,我将不胜感激.谢谢!

c# iis-7 asp.net-mvc-3

64
推荐指数
5
解决办法
30万
查看次数

标签 统计

c# ×2

asp.net-core ×1

asp.net-mvc-3 ×1

iis ×1

iis-7 ×1

windows2012 ×1