IIS 6通配符映射和UNC虚拟目录的问题 [英] IIS 6 with wildcard mapping and UNC virtual directory problem

查看:241
本文介绍了IIS 6通配符映射和UNC虚拟目录的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的生产服务器(与IIS6赢得2003,并加载与F5 BIGIP平衡),我们有一个问题关于IIS6引入wildcardmapping时。我们使用的.NET Framework 3.5 SP1。

这个问题表现为仅有时提供存储在虚拟目录指向UNC路径映像的服务器。 有时显示图像,并且有时没有。删除通配符映射解决了这个问题。

我需要在服务器上为将来的功能上通配符映射,所以任何帮助/指针,如果这是一个已知的问题会有很大的帮助。

在前进,感谢您的帮助。

编辑: 它失败,唯一的例外是:

  

消息:未能开始监视   更改   '\ ourFileServer \文件夹1 \缩略图   因为网络BIOS命令限制   已经达到。了解更多信息   在此错误,请参考   Microsoft知识库文章   不支持Windows XP平台810886.托管UNC共享。   资料来源:System.Web程序数据:   System.Collections.ListDictionaryInternal   TargetSizeVoid   .ctor(System.Web.DirectoryMonitor,   System.String,布尔,UInt32的)   堆栈跟踪在   System.Web.DirMonCompletion..ctor(DirectoryMonitor   dirMon,字符串目录,布尔   watchSubtree,UInt32的notifyFilter)
  在   System.Web.DirectoryMonitor.StartMonitoring()   在   System.Web.DirectoryMonitor.StartMonitoringFile(字符串   文件FileChangeEventHandler回调,   字符串化名)在   System.Web.FileChangesMonitor.StartMonitoringFile(字符串   别名,FileChangeEventHandler   回调)在   System.Web.Configuration.WebConfigurationHost.StartMonitoringStreamForChanges(字符串   streamName中,StreamChangeCallback   回调)在   System.Configuration.BaseConfigurationRecord.MonitorStream(字符串   configKey,字符串configSource,字符串   streamName中)在   System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

解决方案

这已经有一段时间,因为我问这个问题。现在,我们已经能够诊断问题。概括地说,似乎一旦你UNC共享启用通配符映射,ASP.net还增加了文件监视每个子目录。就我们而言,这是一个很大的子目录。请参阅<一href="http://weblogs.asp.net/hosterposter/archive/2006/10/30/Hosting-IIS-with-UNC-content-%5F2D00%5F-Network-BIOS-commands-and-other-errors.aspx" rel="nofollow">http://weblogs.asp.net/hosterposter/archive/2006/10/30/Hosting-IIS-with-UNC-content-2D00-Network-BIOS-commands-and-other-errors.aspx.

我们会尝试用不同的建议,尝试解决这个问题。

On our production servers (win 2003 with IIS6 and load balanced with an F5 BIGIP), we have a problem when introducing wildcardmapping on IIS6. We use .net Framework 3.5 SP1.

The issue manifests itself as by the server only sometimes serving the images stored on a virtual directory pointing to a UNC path. Sometimes the images are displayed, and sometimes not. Removing the wildcard mapping solved this problem.

I will need wildcard mapping on the server for future features, so any help/pointers to if this is a known problem will be very helpful.

In advance, thanks for any help.

Edit: The exception it fails with is the following:

Message: Failed to start monitoring changes to '\ourFileServer\folder1\thumbnails' 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: System.Web Data: System.Collections.ListDictionaryInternal TargetSizeVoid .ctor(System.Web.DirectoryMonitor, System.String, Boolean, UInt32) StackTrace at System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter)
at System.Web.DirectoryMonitor.StartMonitoring() at System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) at System.Web.FileChangesMonitor.StartMonitoringFile(String alias, FileChangeEventHandler callback) at System.Web.Configuration.WebConfigurationHost.StartMonitoringStreamForChanges(String streamName, StreamChangeCallback callback) at System.Configuration.BaseConfigurationRecord.MonitorStream(String configKey, String configSource, String streamname) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

解决方案

It's been a while since I asked this question. We have now been able to diagnose the problem. In a nutshell, it seems that once you enable wildcard mapping on UNC shares, ASP.net adds file monitors for each subdirectory. In our case, it's a lot of subdirectories. See http://weblogs.asp.net/hosterposter/archive/2006/10/30/Hosting-IIS-with-UNC-content-2D00-Network-BIOS-commands-and-other-errors.aspx.

We will try and fix this by experimenting with different suggestions.

这篇关于IIS 6通配符映射和UNC虚拟目录的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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