问题描述
我想在PC的IIS管理器上发布示例.net核心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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!