[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 461
  • Last Modified:

IIS lockdown and uploads

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.
0
ed124
Asked:
ed124
  • 2
  • 2
1 Solution
 
QPRCommented:
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

http://www.dotnetjunkies.com/WebLog/jonne_kats/default.aspx

This is what I have had to do in the past, maybe it's the same issue you are having?
0
 
ed124Author Commented:
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.
0
 
QPRCommented:
Is it still 1 gig (that's huge!) after you re-install lockdown?
0
 
ed124Author Commented:
Yes, that's the default for IIS 5
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now