2008 R2, IIS 7 and UNC problems, managed pipeline modes ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,
I am currently experiencing an interesting problem with IIS 7 on w2k8 r2 and
UNC content in a virtual directory.

We have a front end web server running IIS7.5 off a W2K8 R2 box, on Active
Directoty.
The application of interest is an ASP.NET 2.0 web application sourced from
the local c:\ disk.
Within this WebSite Application, we have a virtual folder which is mapped to
a UNC file share on a back end server.

This file server is running 2003 R2 server and is on the same domain.

The UNC permissions are setup properly, and on the front end web
application, the Application Pool is running under a user which has the
proper permissions to source the content.

By defaul, the application pool's Managed Pipeline mode is set to integrated.

This works for a number of requests(not sure on exact number, but probably
under 50), after which point, we start loosing the ability to source content
from the file server (images, media, etc...) as mapped through the Virtual
Folder (ie from the UNC share).

We get the following ERROR in the Event Log on the W2K8 Front end server
Failed to start monitoring changes to 'YYYYYY' 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.


Now the interesting bit, in trying to debug this further, if we change the
Managed Pipeline mode of the application Pool to "Classic", I stop
experiencing the problem (though I have not had a chance to test this
extensively, but do not seem to be having the problem, no longer problem
content, nor any error messages in the event log).

In referring to the error message, I know there are a number of articles
describing registry key changes which would allow for MaxCmds to be higher,
however these typically describe changes to both the back end server, as well
as the front end web server.
http://learn.iis.net/page.aspx/198/smb-commands-registry-keys/
http://weblogs.asp.net/hosterposter/archive/2006/10/30/Hosting-IIS-with-UNC-content-_2D00_-Network-BIOS-commands-and-other-errors.aspx


Now the question, is WHY is this only happening in the integrated mode, and
not in classic and how can we remedy this.
The backend file server cannot easily be tweaked, as is is currently serving
content to a production server runnning on W2003 IIS6 with the same
application (same domain user defined in the app pools on both front end
servers).

Can someone tell me wheter we should schedule maintenance to do the registry
tweaks on the back end file server, and whether this would change anything
for the front end server running W2K8 R2.
Why the difference in behavior between Classic VS Integrated Managed
Pipeline Mode in accessing the UNC content.

Any insight from MS or other would be appreciated.
Sincerely,
Nic
.



Relevant Pages

  • RE: 2008 R2, IIS 7 and UNC problems, managed pipeline modes ?
    ... Also have Terabytes of data on that UNC location. ... on the file server. ... Since my File Server is x64 Window 2003 I used large ... the application pool's Managed Pipeline mode is set to integrated. ...
    (microsoft.public.inetserver.iis)
  • Re: Virtual Directory to a remote UNC not working properly
    ... Read the NAS and IIS6 URL of my prior email. ... need to open more holes in the firewall to allow RPC and UNC ports as ... well as publish your flnas01 server to be accessible via the Internet. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Access of images on file server
    ... Read this article on how to configure ACLs on a UNC setup. ... server access to the file server (though if the web server in the DMZ is ... able to access a file server not in the DMZ... ... User on both web server and file server, ...
    (microsoft.public.inetserver.iis.security)
  • Re: UNC file share and NTLM user identity
    ... Hi Michael, ... The "general' suggestion is to replicate your web content on each server. ... > UNC file share of a fail-over cluster is a natural choice ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: UNC Share causing Internal Server Error 500
    ... domain that the web server is not a member of. ... I found that ASP.NET requires that account to have permissions on the ... The UNC path is on DFS. ... IIS need to logon the 'Connect As' account and then use its credential to ...
    (microsoft.public.inetserver.iis.security)