C# 生成ASP.net网站时VS中的错误消息

C# 生成ASP.net网站时VS中的错误消息,c#,asp.net,iis,C#,Asp.net,Iis,错误1加载时出错 配置文件:无法启动 监测对环境的变化 '\server1\d$\Software 开发\xxx\newVersion' 因为网络BIOS命令限制 已经到达。更多信息 关于此错误,请参阅 Microsoft知识库文章 810886Windows XP不支持在UNC共享上托管 站台\server1\d$\软件 开发\xxx\newVersion\Web.config 1 知识库文章是: 它告诉我重新编辑并增加一些值。钥匙根本不存在。但是这个网站在大约5分钟前运行良好,我只是添加了

错误1加载时出错 配置文件:无法启动 监测对环境的变化 '\server1\d$\Software 开发\xxx\newVersion' 因为网络BIOS命令限制 已经到达。更多信息 关于此错误,请参阅 Microsoft知识库文章 810886Windows XP不支持在UNC共享上托管 站台\server1\d$\软件 开发\xxx\newVersion\Web.config 1

知识库文章是:

它告诉我重新编辑并增加一些值。钥匙根本不存在。但是这个网站在大约5分钟前运行良好,我只是添加了几行代码,但仍然不起作用!这个错误不知从何而来

Web服务器只有50mb的可用空间,这会导致这种情况吗

谢谢你的帮助,我被难住了

编辑:web配置文件

web.config文件似乎缺少1/2,因此我将其替换为默认文件。我也犯了同样的错误

我注意到我在尝试重建时也收到了一系列警告:

Message 1   Could not find schema information for the element 'compilers'.  \\server1\d$\Software Development\xxx\newVersion\web.config 91  10  \\server1\d$\...\newVersion\
Message 2   Could not find schema information for the element 'compiler'.   \\server1\d$\Software Development\xxx\newVersion\web.config 92  14  \\server1\d$\...\newVersion\
Message 3   Could not find schema information for the attribute 'language'. \\server1\d$\Software Development\xxx\newVersion\web.config 92  23  \\server1\d$\...\newVersion\
Message 4   Could not find schema information for the attribute 'extension'.    \\server1\d$\Software Development\xxx\newVersion\web.config 92  47  \\server1\d$\...\newVersion\
Message 5   Could not find schema information for the attribute 'warningLevel'. \\server1\d$\Software Development\xxx\newVersion\web.config 92  63  \\server1\d$\...\newVersion\
Message 6   Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 93  23  \\server1\d$\...\newVersion\
Message 7   Could not find schema information for the element 'providerOption'. \\server1\d$\Software Development\xxx\newVersion\web.config 94  18  \\server1\d$\...\newVersion\
Message 8   Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 94  33  \\server1\d$\...\newVersion\
Message 9   Could not find schema information for the attribute 'value'.    \\server1\d$\Software Development\xxx\newVersion\web.config 94  56  \\server1\d$\...\newVersion\
Message 10  Could not find schema information for the element 'providerOption'. \\server1\d$\Software Development\xxx\newVersion\web.config 95  18  \\server1\d$\...\newVersion\
Message 11  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 95  33  \\server1\d$\...\newVersion\
Message 12  Could not find schema information for the attribute 'value'.    \\server1\d$\Software Development\xxx\newVersion\web.config 95  52  \\server1\d$\...\newVersion\
Message 13  Could not find schema information for the element 'compiler'.   \\server1\d$\Software Development\xxx\newVersion\web.config 97  14  \\server1\d$\...\newVersion\
Message 14  Could not find schema information for the attribute 'language'. \\server1\d$\Software Development\xxx\newVersion\web.config 97  23  \\server1\d$\...\newVersion\
Message 15  Could not find schema information for the attribute 'extension'.    \\server1\d$\Software Development\xxx\newVersion\web.config 97  62  \\server1\d$\...\newVersion\
Message 16  Could not find schema information for the attribute 'warningLevel'. \\server1\d$\Software Development\xxx\newVersion\web.config 97  78  \\server1\d$\...\newVersion\
Message 17  Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 98  23  \\server1\d$\...\newVersion\
Message 18  Could not find schema information for the element 'providerOption'. \\server1\d$\Software Development\xxx\newVersion\web.config 99  18  \\server1\d$\...\newVersion\
Message 19  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 99  33  \\server1\d$\...\newVersion\
Message 20  Could not find schema information for the attribute 'value'.    \\server1\d$\Software Development\xxx\newVersion\web.config 99  56  \\server1\d$\...\newVersion\
Message 21  Could not find schema information for the element 'providerOption'. \\server1\d$\Software Development\xxx\newVersion\web.config 100 18  \\server1\d$\...\newVersion\
Message 22  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 100 33  \\server1\d$\...\newVersion\
Message 23  Could not find schema information for the attribute 'value'.    \\server1\d$\Software Development\xxx\newVersion\web.config 100 52  \\server1\d$\...\newVersion\
Message 24  Could not find schema information for the element 'providerOption'. \\server1\d$\Software Development\xxx\newVersion\web.config 101 18  \\server1\d$\...\newVersion\
Message 25  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 101 33  \\server1\d$\...\newVersion\
Message 26  Could not find schema information for the attribute 'value'.    \\server1\d$\Software Development\xxx\newVersion\web.config 101 52  \\server1\d$\...\newVersion\
Message 27  Could not find schema information for the element 'validation'. \\server1\d$\Software Development\xxx\newVersion\web.config 111 10  \\server1\d$\...\newVersion\
Message 28  Could not find schema information for the attribute 'validateIntegratedModeConfiguration'.  \\server1\d$\Software Development\xxx\newVersion\web.config 111 21  \\server1\d$\...\newVersion\
Message 29  Could not find schema information for the element 'modules'.    \\server1\d$\Software Development\xxx\newVersion\web.config 112 10  \\server1\d$\...\newVersion\
Message 30  Could not find schema information for the element 'remove'. \\server1\d$\Software Development\xxx\newVersion\web.config 113 14  \\server1\d$\...\newVersion\
Message 31  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 113 21  \\server1\d$\...\newVersion\
Message 32  Could not find schema information for the element 'add'.    \\server1\d$\Software Development\xxx\newVersion\web.config 114 14  \\server1\d$\...\newVersion\
Message 33  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 114 18  \\server1\d$\...\newVersion\
Message 34  Could not find schema information for the attribute 'preCondition'. \\server1\d$\Software Development\xxx\newVersion\web.config 114 38  \\server1\d$\...\newVersion\
Message 35  Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 114 68  \\server1\d$\...\newVersion\
Message 36  Could not find schema information for the element 'handlers'.   \\server1\d$\Software Development\xxx\newVersion\web.config 116 10  \\server1\d$\...\newVersion\
Message 37  Could not find schema information for the element 'remove'. \\server1\d$\Software Development\xxx\newVersion\web.config 117 14  \\server1\d$\...\newVersion\
Message 38  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 117 21  \\server1\d$\...\newVersion\
Message 39  Could not find schema information for the element 'remove'. \\server1\d$\Software Development\xxx\newVersion\web.config 118 14  \\server1\d$\...\newVersion\
Message 40  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 118 21  \\server1\d$\...\newVersion\
Message 41  Could not find schema information for the element 'remove'. \\server1\d$\Software Development\xxx\newVersion\web.config 119 14  \\server1\d$\...\newVersion\
Message 42  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 119 21  \\server1\d$\...\newVersion\
Message 43  Could not find schema information for the element 'remove'. \\server1\d$\Software Development\xxx\newVersion\web.config 120 14  \\server1\d$\...\newVersion\
Message 44  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 120 21  \\server1\d$\...\newVersion\
Message 45  Could not find schema information for the element 'add'.    \\server1\d$\Software Development\xxx\newVersion\web.config 121 14  \\server1\d$\...\newVersion\
Message 46  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 121 18  \\server1\d$\...\newVersion\
Message 47  Could not find schema information for the attribute 'verb'. \\server1\d$\Software Development\xxx\newVersion\web.config 121 46  \\server1\d$\...\newVersion\
Message 48  Could not find schema information for the attribute 'path'. \\server1\d$\Software Development\xxx\newVersion\web.config 121 55  \\server1\d$\...\newVersion\
Message 49  Could not find schema information for the attribute 'preCondition'. \\server1\d$\Software Development\xxx\newVersion\web.config 121 69  \\server1\d$\...\newVersion\
Message 50  Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 122 18  \\server1\d$\...\newVersion\
Message 51  Could not find schema information for the element 'add'.    \\server1\d$\Software Development\xxx\newVersion\web.config 123 14  \\server1\d$\...\newVersion\
Message 52  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 123 18  \\server1\d$\...\newVersion\
Message 53  Could not find schema information for the attribute 'verb'. \\server1\d$\Software Development\xxx\newVersion\web.config 123 57  \\server1\d$\...\newVersion\
Message 54  Could not find schema information for the attribute 'path'. \\server1\d$\Software Development\xxx\newVersion\web.config 123 66  \\server1\d$\...\newVersion\
Message 55  Could not find schema information for the attribute 'preCondition'. \\server1\d$\Software Development\xxx\newVersion\web.config 123 90  \\server1\d$\...\newVersion\
Message 56  Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 124 18  \\server1\d$\...\newVersion\
Message 57  Could not find schema information for the element 'add'.    \\server1\d$\Software Development\xxx\newVersion\web.config 125 14  \\server1\d$\...\newVersion\
Message 58  Could not find schema information for the attribute 'name'. \\server1\d$\Software Development\xxx\newVersion\web.config 125 18  \\server1\d$\...\newVersion\
Message 59  Could not find schema information for the attribute 'preCondition'. \\server1\d$\Software Development\xxx\newVersion\web.config 125 40  \\server1\d$\...\newVersion\
Message 60  Could not find schema information for the attribute 'verb'. \\server1\d$\Software Development\xxx\newVersion\web.config 125 70  \\server1\d$\...\newVersion\
Message 61  Could not find schema information for the attribute 'path'. \\server1\d$\Software Development\xxx\newVersion\web.config 125 86  \\server1\d$\...\newVersion\
Message 62  Could not find schema information for the attribute 'type'. \\server1\d$\Software Development\xxx\newVersion\web.config 125 112 \\server1\d$\...\newVersion\
Error   63  An error occurred loading a configuration file: Failed to start monitoring changes to '\\server1\d$\Software Development\xxx\newVersion' 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. \\server1\d$\Software Development\xxx\newVersion\web.config 1   
重新编辑


显然,这不是web.config问题,如果我删除它,在重新启动VS时会出现相同的错误。VS已修复了该问题-您遇到的最大问题是该站点托管在网络共享上

Asp.Net正在应用程序目录上设置文件监视程序,以便在关键文件发生更改时为AppDomain提供自动拆除功能

在早期版本的windows上,此功能要么不能跨网络共享工作(但Asp.Net不会失败),要么就非常有限。我认为在这种情况下,一个现有的观察程序被认为已被删除,另一个正在重新创建(可能是由操作系统重新创建的),随着重复的观察程序被一次又一次地创建,最终耗尽了系统资源

这在Win 2008+上得到更好的支持(需要客户端和服务器),因为网络文件系统和监视程序与操作系统有更深入的集成


但是,我强烈建议,尤其是在开发过程中,在本地IIS上运行的网站也可以从本地文件系统运行。

您在哪个系统上运行?@TToni Windows Server 2003 with IIS6。我今天不能重置服务器,这是一个耻辱。重新启动VS,它的修复。奇怪的