使用 0x80070005 将 .net 核心项目发布到 iis 时出现 HTTP 错误 500.19 [英] HTTP Error 500.19 when publish .net core project into iis with 0x80070005

查看:31
本文介绍了使用 0x80070005 将 .net 核心项目发布到 iis 时出现 HTTP 错误 500.19的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我电脑的 IIS 管理器上发布一个示例 .net core web 应用程序,但我失败了.我正在使用 Microsoft 指南,但它对我不起作用,如果您有解决此问题的合理经验,我会很高兴看到您的建议.

I want to publish a sample .net core web application on my pc's IIS manager but I failed. I am using Microsoft guidance but it doesn't work for me, if you have reasonable experience to fix this problem I would be grateful to see your suggestions.

推荐答案

Web 应用程序在 IIS 中运行所使用的身份没有对 web.config 文件所在文件夹的完全访问权限被发现.您使用的是哪个版本的 IIS?假设为 7,您可以通过托管您的应用程序的应用程序池的高级设置"查看/更改身份.可以通过 Windows 资源管理器以通常的方式授予文件夹权限.

The identity under which your web application runs in IIS doesn't have full access to the folder in which the web.config file is found. Which version of IIS are you using? Assuming 7, you can view/change the identity through the 'Advanced Settings' of the application pool that hosts your application. Folder permissions can be granted via Windows Explorer in the usual way.

这篇关于使用 0x80070005 将 .net 核心项目发布到 iis 时出现 HTTP 错误 500.19的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆