IIS 7.0 错误 - 500.19 内部服务器错误

IIS 7.0 Error - 500.19 Internal Server Error(IIS 7.0 错误 - 500.19 内部服务器错误)
本文介绍了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 内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
quot;Overflowquot; compiler error with -9223372036854775808L(编译器错误-9223372036854775808L(Q;溢出Q))
Visual Studio 2010 ReportViewer Assembly References(Visual Studio 2010 ReportViewer程序集引用)
Weird behaviour when I open a reportviewer in WPF(在WPF中打开报表查看器时出现奇怪的行为)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)