FLV 404 Error On Windows 2003 Server

Posted July 26, 2007 at 11:48 AM by Ben Nadel

Tags: Work

I was working on a streaming video file for a client this morning using Flash and a linked FLV video file. Everything worked nicely - the Flash media player is so badass - until I uploaded it to the production server. Suddenly, the movie didn't play at all. Nothing I did seemed to work; cleaning the cache didn't do anything; all the paths were right. It wasn't until I tried to access the FLV file directly and got a 404 File Not Found error that I realized something was fishy.

After some Google searching, I came across this Adobe Tech Note that says that:

When Flash Player movie files that stream external FLV files (Flash videos) are placed on a Microsoft Windows 2003 server and then viewed in a browser, the SWF file plays correctly, but the FLV video does not stream. These files work correctly if tested on other operating systems. The issue affects all FLV files played via Windows 2003 server, including files made with the Flash Video Kit for Dreamweaver MX 2004.

The good news is that there is any easy solution:

  1. On the Windows 2003 server, open the Internet Information Services Manager.
  2. Expand the Local Computer Server.
  3. Right-click the local computer server and select Properties.
  4. Select the MIME Types tab.
  5. Click New and enter the following information:
    • Associated Extension box: .FLV
    • MIME Type box:flv-application/octet-stream
  6. Click OK.
  7. Restart the World Wide Web Publishing service.


Reader Comments

Jul 26, 2007 at 12:28 PM // reply »
8 Comments

This tip is already in our ToDo list when we install a new server. :)

I know I spent a lot of time to find out the reason of this problem and this will be useful for others also.


Jul 26, 2007 at 12:30 PM // reply »
10,638 Comments

What makes it so frustrating is that the SWF file works fine... it just looks like the FLV file is not loading into it properly. So of course, you think its just a path problem or something! Uggg :)


Jul 26, 2007 at 12:34 PM // reply »
10 Comments

I've been bit by this little nuance as well.


Ed
Jul 26, 2007 at 3:30 PM // reply »
12 Comments

funny, but i had same problem not long ago and blogged about it just yesterday http://www.1smartsolution.com/blog/index.cfm?mode=entry&entry=FCE65E88-50BF-1286-4BD978F4378AAE45

:)


Jul 26, 2007 at 3:36 PM // reply »
10,638 Comments

Ha ha, small world :) I hope you didn't waste as much time as I did!


Aug 7, 2007 at 1:00 PM // reply »
2 Comments

Jeez! Wasted an hour on this little doozy! How come FLVs worked on our old server? I'm sure we had to do this before.

THANKS!!!


Aug 7, 2007 at 1:01 PM // reply »
2 Comments

I mean... "never had to do this before".


Aug 7, 2007 at 1:02 PM // reply »
10,638 Comments

Yeah, silly IIS! :)


Aug 11, 2007 at 10:02 AM // reply »
20 Comments

Oooh, that was happened to me before, but I catch - after long time - it by trying to download the flv file useing its full path. I don't remember what was the error, but it has been solved doing the same steps you wrote.

thanks


Aug 16, 2007 at 5:40 AM // reply »
1 Comments

Thank you so much

Spent houers looking at first code then crossdomain policy issues then searching for flash related help and then I tried to dl the flv file directly from browser which finally got me to put in windows in the search criteria and then I found your page so...............

But ain't this what development is allways all about


Aug 16, 2007 at 7:25 AM // reply »
10,638 Comments

@Peter,

Always glad to help. It took me a while to find this out also - I hope that I cut down on your search time a bit :)


Sep 11, 2007 at 11:50 AM // reply »
1 Comments

Thanks a lot my friend.. this help me to fix the issue on the fly.. Great solution posted.


Nov 7, 2007 at 6:50 PM // reply »
1 Comments

Forwarded this to University ITS, fixed my problem.
Thank you!


Nov 9, 2007 at 2:32 PM // reply »
1 Comments

thanks, man!


Mar 12, 2008 at 8:49 AM // reply »
19 Comments

Thanks, Ben! Found this via a Google search for "Flash Video 404." Exactly what I needed. You made my day.


Mar 12, 2008 at 8:54 AM // reply »
10,638 Comments

Sweeeet!


Apr 21, 2008 at 3:13 PM // reply »
1 Comments

Thanks a ton...I was beginning to think I was going crazy. My search to find you was 404 error flv


Apr 21, 2008 at 3:29 PM // reply »
10,638 Comments

@Dan,

Rock on, glad to help :)


May 20, 2008 at 6:54 PM // reply »
1 Comments

Nice tip, thank you and stumble!


Oct 9, 2008 at 10:30 AM // reply »
1 Comments

Thank you. I love you!


Oct 24, 2008 at 4:38 PM // reply »
11 Comments

For what it's worth, you don't have to go through the trouble of restarting the WWW publishing service. Simply open up a command prompt (start > run > "cmd") and type "iisreset" and hit enter. I've found this to be faster and obviously easier, with the same result.


Oct 25, 2008 at 6:29 AM // reply »
10,638 Comments

@Adam,

Thanks for the tip.


Apr 20, 2009 at 10:36 AM // reply »
1 Comments

Wonderful! I'll try this... really hope it works!


Lee
Apr 27, 2009 at 9:27 AM // reply »
1 Comments

Legend... Thanks... Works a treat


Bob
Jun 30, 2009 at 3:34 PM // reply »
1 Comments

This was exactly what I was looking for! Fixed my ailing problem.

May have saved me a few hairs from being pulled out. Only half bald now!


Aug 28, 2009 at 6:40 PM // reply »
1 Comments

You saved me a ton of hassle. Thanks for this great post!!!


Oct 2, 2009 at 1:55 PM // reply »
1 Comments

Thanks a lot. I waw wondering why I got that 404 error.


Dec 17, 2009 at 6:43 AM // reply »
1 Comments

Thanks for the info... this was a great help as i had spend my entire day on this issue......


Mar 12, 2010 at 7:34 PM // reply »
1 Comments

I spent a good couple of hours on this today. What a pain. On my old server, everything was fine. I migrated the site to a new server, and suddenly, all the files with audio didn't work. Just got nothin'. When i noticed the audio files had FLV counterparts, and did a search for "FLV IIS". Viola! Thanks!


Mar 15, 2010 at 9:46 AM // reply »
10,638 Comments

@Rick,

No problem at all; when I first ran into this, it struck me as somewhat odd that you even needed to register file extensions. I just assumed that all files would be served up, except for perhaps some black-listed ones.


May 12, 2010 at 12:07 PM // reply »
10 Comments

Ben,

Did I ever tell you, YOUR THE MAN. This saved me from hours of head banging pain. Thanks.

Curt


May 12, 2010 at 12:59 PM // reply »
10,638 Comments

@Curt,

Ha ha, no problem, glad to help.


Jul 20, 2010 at 5:10 PM // reply »
1 Comments

Luckily I didn't get bit so bad by this one, as the very first thing I did was try to browse to the file. Typically anytime I dump a file onto a webserver, no matter what kind it is, I try to browse to it first. Then I can make sure I didn't put it somewhere that the web server isn't configured for.

Still glad though that I could find an answer so quickly.


Jul 20, 2010 at 8:47 PM // reply »
10,638 Comments

@David,

Glad you got it worked out quickly :) When things don't work on a server, I tend to panic a bit. I'm slowly getting better.


Jul 20, 2010 at 11:36 PM // reply »
1 Comments

thanks Ben - uploaded my FLV twice, checked code twice, searched Google once... found your post. Magician.


Jul 22, 2010 at 10:16 PM // reply »
10,638 Comments

@Sam,

Team work (high five)!


Sep 27, 2010 at 6:40 AM // reply »
1 Comments

Awesome, can't remember how many times I have ended findong my solution here. Thanks Ben


Sep 27, 2010 at 6:59 AM // reply »
1 Comments

It is very useful. It works.
Thanks so much.


Oct 22, 2010 at 10:50 AM // reply »
1 Comments

Thank you for this quick and useful tip.



Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
Feb 3, 2012 at 10:49 PM
How I Got Node.js Running On A Linux Micro Instance Using Amazon EC2
Wow this was really helpful! Only thing I would add is you need to update your .bash_profile after you edit the secure_path. This is what I did: $ . ~/.bash_profile Otherwise, NPM won't be found. ... read »
Feb 3, 2012 at 10:14 PM
Pushing Base64-Encoded Images Over HTML5 WebSockets With Pusher And ColdFusion
@Ben, Just wanted to let you know that pusher are soon to start limiting sizes on messages. This was the detail that came through in the Feb dispatch: "However, we will soon be limiting the s ... read »
Feb 3, 2012 at 5:05 PM
Regular Expressions Make CSV Parsing In ColdFusion So Much Easier (And Faster)
I tried using your RegEx in my C# program, but it was matching an extra empty-string at the end and so I would end up with an extra field that doesn't exist, so I changed it to this: (^|,)("(?: ... read »
Feb 3, 2012 at 3:47 PM
ColdFusion Supports HTTP Verbs PUT And DELETE (As Well As GET And POST)
Josh Cyr posted this on Twitter just a little bit ago. Thought it was appropriate. http://stackoverflow.com/questions/1619152/how-to-create-rest-urls-without-verbs/1619677#1619677 ... read »
Feb 3, 2012 at 2:28 PM
Changing The Execution Context Of Your Self-Executing Function Blocks In JavaScript
@Michael, You definitely make a good point (and extra points for quoting movies - I love movies). When you use a return() statement to define the object's public API, it does provide a consistent a ... read »
Feb 3, 2012 at 2:04 PM
Changing The Execution Context Of Your Self-Executing Function Blocks In JavaScript
To quote Jurassic Park: "Just because you can doesn't mean you should". I completely, utterly disagree with the thought that this is more readable. Consider the current module pattern: if ... read »
Feb 3, 2012 at 1:10 PM
REST API Design Rulebook By Mark Masse
@Jordan, Yeah, WRML was created by Mark Masse (author of the book). I also found it to be a bit convoluted. I suppose it is intended to allow the Client to be able to programmaticaly respond to cha ... read »
Feb 3, 2012 at 1:08 PM
ColdFusion Supports HTTP Verbs PUT And DELETE (As Well As GET And POST)
@Jason, To be honest, I don't have good answers for that kinds of stuff. And, to the point, that is specifically why I *really* liked the REST API Design Rulebook by Mark Masse - he just cuts throu ... read »