IIS lockdown and uploads

Posted on 2007-10-07
Last Modified: 2012-06-21
I was doing some work on an older windows 2000 IIS 5 server, and noticed that IIS lockdown had never been run on it. So I ran IIS lockdown, and the sites on that server seem to be running OK, except for uploading.

The problem seems to be file size. Uploading a 10k file works OK, but trying to upload a 150k file seems to drop the connection. Un-doing the lockdown, the upload works fine.

During the lockdown, I deselected the option to restrict anonymous users for writing to content directories, so thats not the problem. I also did not install URLscan, so thats not the problem either.

The site uses AspSmartUpload for the uploading. There are no server errors, just the connection or network error. Nothing in the event logs either. It seems like IIS lockdown limited the content length allowed in the request, but I didnt think it was supposed to do that.

Ive searched this problem everywhere, but I only find this issue occurring with URLScan installed, but like I said, I did not install it. So any help would be appreciated.
Question by:ed124
    LVL 29

    Expert Comment

    Open up the iis manager
    Right click the web server and check the enable direct metabase edit option.
    Now open the %Windows dir%\System 32\Inetsrv\MetaBase.xml file.
    Change the AspMaxRequestEntityAllowed variable to the desired max upload size

    This is what I have had to do in the past, maybe it's the same issue you are having?

    Author Comment

    Thanks QPR, but this is IIS 5. I did however check that variable via Metabase editor, and it was set to 1 gig. So that doesnt look like the issue.
    LVL 29

    Accepted Solution

    Is it still 1 gig (that's huge!) after you re-install lockdown?

    Author Comment

    Yes, that's the default for IIS 5

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now