Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I made a website on which i need to be able to upload video files and it has worked for quite a while. However after a while it just stopped working and now it will give me the following IIS error message when i upload a video. Images do work (possibly due to their smaller size). I use an html form with PHP server sided script to upload.

enter image description here

I have already set the user permissions for the entire inetpub to allow all actions for the IIS user.

If you have any idea what it could be PLEASE tell me, have been trying to fix this for weeks now.

Thanks in advance!

share|improve this question

You probably have upload_max_filesize and/or post_max_size values set too low in php.ini.

share|improve this answer
nope they are set to 1024M and 3000 seconds where applicable, and when this is the problem the server will just give an empty $_FILES array, not an error. – dragon112 Apr 13 '12 at 10:11
Have you verified the php settings took effect by looking at phpinfo() ? – uSlackr Apr 13 '12 at 11:11
Yes, they all took effect. – dragon112 Apr 17 '12 at 7:15

Dragon, Do you have "Request Filtering" module installed? Within this module, if you edit the feature settings (on the right sidebar) you'll find a "Maximum allowed content length (Bytes)" setting. That is the only other setting I can think of that might cause this.

Request Filtering Settings

share|improve this answer
This is all set to 512000000 (512MB) the file i'm uploading is 50 MB, that is not the problem. – dragon112 Apr 17 '12 at 7:15
Not to mention that the error seems to single out the PHP handler. As an aside, 512000000 KB is 488 MB :-) – Chris Anton Apr 17 '12 at 12:18
Yea i know, its kinda like HDD's.. They promise you 512GB but in reality you have like 460.. (the thiefs!) – dragon112 Apr 17 '12 at 13:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.