我最近开始收到此错误:
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/