访问虚拟文件夹时出现 IIS 7 500 错误 [英] IIS 7 500 Error When Accessing Virtual Folders

查看:23
本文介绍了访问虚拟文件夹时出现 IIS 7 500 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了 IIS 问题,正在尝试访问虚拟文件夹路径.

I'm having an issue with IIS, attempting to reach a virtual folder path.

我的应用程序(.Net 3.5 SP1,MVC 1.0)生成报告结果文件,这些文件通过基于 Unix 的 vfiler(我认为目标是 NetApp 设备)上的虚拟路径登陆.当我的用户尝试通过 IIS(在 WinServ 2k8 R2 64 位上托管)通过 http 请求访问报告时,他们收到以下 500 错误:

My application (.Net 3.5 SP1, MVC 1.0) generates reporting results files that land via a virtual path on a Unix based vfiler (I think the target is a NetApp appliance). When my users attempt to access the reports via an http request through IIS (Hosted on WinServ 2k8 R2 64-bit), they receive the following 500 error:

Log Name:      Application
Source:        ASP.NET 2.0.50727.0
Date:          3/14/2012 1:07:20 PM
Event ID:      1185
Task Category: File Monitoring
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      %APPLICATION_SERVER%
Description:
Failed to start monitoring changes to '%PATH_TO_FILE_SHARE%' 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.

我在这个环境中的知名度不高(我是应用程序的供应商),但问题似乎是累积的,并且只有在 IIS 代理连接时才会出现.如果我在客户端机器上手动输入命令/运行窗口的路径,我就可以访问该文件 - 让我相信它不是基于权限的.我也可以在 IIS 管理器中访问它.当我执行 IISRESET 时,问题会暂时得到缓解.

I don't have a lot of visibility in this environment (I'm the vendor of the app) but the issue seems to be accumulative, and only when IIS brokers the connection. If I manually type in the path in to a command/run window on the client machine, I am able to access the file - leading me to believe it is not permissions based. I am also able to access it in IIS Manager. When I do an IISRESET, the issue is briefly abated.

有什么想法吗?我尝试按照(相当旧的)知识库文章中的说明进行操作,但没有帮助.

Any thoughts? I tried following the instructions in the (fairly old) KB article, but that has not helped.

我应该注意这是一个生产系统

I should note that this is a production system

推荐答案

作为参考,以下文章允许我们解决问题:http://blogs.msdn.com/b/carloc/archive/2009/09/06/hosting-on-a-unc-share-is-not-supported-for-the-windows-xp-platform.aspx

For reference, the following article allowed us to resolve the issue: http://blogs.msdn.com/b/carloc/archive/2009/09/06/hosting-on-a-unc-share-is-not-supported-for-the-windows-xp-platform.aspx

我们将 HKLMSoftwareMicrosoftASP.NETFCNMode 值设置为2",这能够将我们的多路复用连接减少到可管理的值.Microsoft 的官方建议是增加 SAN 上的多路复用连接限制,但这对我们来说是不可行的,因为它需要下推 SAN 上托管的所有 CIFS 共享.

We set the HKLMSoftwareMicrosoftASP.NETFCNMode value to "2" which was able to reduce our multiplex connections down to a manageable value. Microsoft's official recommendation was to increase the multiplex connection limit on the SAN, however that was not feasible for us as it would have required pushing down all the CIFS shares hosted on the SAN.

希望这对将来的人有所帮助.

Hope this helps someone in the future.

这篇关于访问虚拟文件夹时出现 IIS 7 500 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆