IIS 6/Win2k3 Download/Run .bat files

From: Mike Plagge (mwplagge_at_hotmail.com)
Date: 08/11/04


Date: Wed, 11 Aug 2004 17:18:33 -0500

We are trying to finish a migration to IIS 6 and 2003. I've come across an
odd problem that is giving me fits. Everything works fine on W2k/IIS5 but I
can't seem to get it working at all on 2003.

 We have some batch files that our school staff and students use to set up
mapped drives. The batch files run another file with some options. Before,
we simply put a link to the .bat files and people would open them and run
them from the server. Now, I get the same 404 message that I got when we
first set up asp page (that's taken care of thankfully). If I change the
file extension, I get the same message. If I create a bat file with another
name (new file) and change it to a zip file I get the contents of the file
in text format. If I put a zip file on there (a real one) I get the ability
to download it. Any ideas on that? It seems like IIS is scanning the file
and blocking access based on the contents (and not just the extension) of
the file.

Anyone have any experience with this? Is IIS scanning these files and
denying access to them due to the 'malicious' nature of the contents?



Relevant Pages

  • Re: Help pls- quick one
    ... using the .asp file extension will cause IIS to process the page ... This email account is my spam trap so I ...
    (microsoft.public.inetserver.asp.general)
  • Re: 404 not found
    ... In Win 2003 if file has an unknown Mime type (determined by file extension) ... Can you quote the IIS log file? ... DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Intercept WebDAV requests
    ... WebDav support requires processing URI that doesn't map to file name ... IIS uses the file extension to identify the Web Service ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 6/Win2k3 Download/Run .bat files
    ... > file extension, ... It seems like IIS is scanning the file ... > and blocking access based on the contents of ... Is IIS scanning these files and ...
    (microsoft.public.inetserver.iis)
  • Re: "Page cannot be found"
    ... IIS 6.0 Does Not Serve Unknown MIME Types ... > I've a rather strange problem with my server (IIS6, ... > the rest of them I get an error message stating "page ... > stating that a file extension has to be registred to be ...
    (microsoft.public.inetserver.iis)

Loading