c# - ASP.NET网站中的配置错误

标签 c# asp.net error-handling web-config

我最近开始收到此错误:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'H:\2013 T1\SIT302 Project\Deliverables\Website' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.

Source Error: [No relevant source lines]

Source File: refers back to the web config file Line: 0



我不知道为什么会这样。
以下是我的Web配置文件的内容。
<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>

  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  </appSettings>

  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>

</configuration>

最佳答案

似乎H:\2013 T1\SIT302 Project\Deliverables\Website是网络路径而不是本地路径,并且IIS服务器和包含网站文件的文件服务器之间存在网络问题。检查网络连接。

从网络共享或NAS设备运行网站时,IIS和ASP.NET的用户通常会收到此错误消息。检查此LINK以获取更多信息和解决方案。

关于c# - ASP.NET网站中的配置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16981364/

相关文章:

c# - 向面板控件添加简单文本

php - 在实时页面上寻找PHP错误的建议

asp.net - 当 web.config 损坏时检测并发出警报

c# - 我可以在 C# 中声明全局推断变量吗?

c# - 多线程谜语的更好解决方案?

c# - MatchCollection 和 Regex 匹配奇怪的行为

c# - 使用 Asp.net 和 C# 将嵌套的 XML 节点添加到 xml 文件

asp.net - iPad Retina 显示屏仅对网页使用 1024

exception - 确保谓词确定性地成功

c# - 等于 c# 中的 c++ extern