IIS 7.0 Error - 500.19 Internal Server Error(IIS 7.0 错误 - 500.19 内部服务器错误)
问题描述
我目前正在使用 iis 7.0 的共享主机计划
I am currently on a shared hosting plan with iis 7.0
我在主机的 wwwroot 中有一个 asp.net mvc 应用程序.现在我创建了一个虚拟目录来存储我的网络服务(我不想在子域上托管它并支付额外费用)
I have an asp.net mvc application in the wwwroot of my hosting. Now I made a virtual directory to store my webservice in(I don't want to have to host this on a sub domain and pay extra)
但是,当我将 Web 服务代码放在我的虚拟目录中并尝试运行它时,我得到了这个
However when I put my web service code in my virtual directory and try to run it I get this
Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
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 \?C:HostingSpacesintSite.comwwwrootweb.config
Requested URL http://www.Site.com:80/VirtualDirectory/Webservice.asmx
Physical Path C:HostingSpacesintSite.comwwwrootVirutalDirectoryWebservice.asmx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:
我不知道问题是什么,也不知道如何解决.
I don't know what the probelm is nor how to fix it.
推荐答案
你应该检查apppool的用户帐户的权限.或者您可以检查文件夹的安全属性(C:HostingSpacesintSite.comwwwroot).确保 IIS 的 apppool 的帐户至少可以读取该文件夹.
You should check the permission of the user account of the apppool. Or you can check the security property of the folder(C:HostingSpacesintSite.comwwwroot). Ensure the account of the apppool of IIS can read the folder at least.
这篇关于IIS 7.0 错误 - 500.19 内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:IIS 7.0 错误 - 500.19 内部服务器错误


- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 输入按键事件处理程序 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01