简体   繁体   English

ASP.NET网站中的配置错误

[英]Configuration error in ASP.NET website

I recently started getting this error: 我最近开始收到此错误:

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. 解析器错误消息:加载配置文件时发生错误:由于已达到网络BIOS命令限制,因此无法开始监视对'H:\\ 2013 T1 \\ SIT302 Project \\ Deliverables \\ Website'的更改。 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. 有关此错误的更多信息,请参考Microsoft知识库文章810886。Windows XP平台不支持在UNC共享上进行托管。

Source Error: [No relevant source lines] 源错误: [无相关源代码行]

Source File: refers back to the web config file Line: 0 源文件:引用回Web配置文件行: 0

I have no idea why this is happening. 我不知道为什么会这样。 The following is contents of my web config file. 以下是我的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>

It seems H:\\2013 T1\\SIT302 Project\\Deliverables\\Website is a network path not a local path and there is a network problem between the IIS Server and the file server containing the website files. 似乎H:\\2013 T1\\SIT302 Project\\Deliverables\\Website是网络路径而不是本地路径,并且IIS服务器和包含网站文件的文件服务器之间存在网络问题。 Check the network connectivity. 检查网络连接。

Users of IIS and ASP.NET often receive this error message when running a website from a network share or NAS device. 从网络共享或NAS设备运行网站时,IIS和ASP.NET的用户通常会收到此错误消息。 Check this LINK for more information and the solution. 检查此链接以获取更多信息和解决方案。

I made a very detailed answer to this problem here: https://stackoverflow.com/a/20710473/705198 我对这个问题做了非常详细的回答: https : //stackoverflow.com/a/20710473/705198

That answer is an accumulation of all the technet, msdn, and blog reference material I could find on the subject, and what we ended up having to do to fix the problem. 这个答案是我可以在该主题上找到的所有technet,msdn和博客参考材料的积累,以及我们最终必须解决的问题。 Disabling Jumbo Frames (HP Server NIC problems causing another error) and SMB2+ combined with the registry edits were what ended up saving us with our high traffic IIS sites. 禁用巨型帧(HP Server NIC问题导致另一个错误)和SMB2 +并结合了注册表编辑功能,最终为我们节省了流量大的IIS站点。 The registry edits alone only made it so the network bios limit errors would not show up as fast under normal load. 仅注册表编辑器就可以做到,因此网络BIOS限制错误在正常负载下不会很快显示出来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM