FLV 404 Error On Windows 2003 Server

Posted July 26, 2007 at 11:48 AM

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.

Post Comment  |  Ask Ben  |  Other Searches  |  Print Page



Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

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 »
7,572 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 »
9 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 »
7,572 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 »
7,572 Comments

Yeah, silly IIS! :)


Aug 11, 2007 at 10:02 AM // reply »
16 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 »
7,572 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 »
18 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 »
7,572 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 »
7,572 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 »
7,572 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 »
7,572 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.


Post Comment  |  Ask Ben

Recent Blog Comments
Mar 20, 2010 at 12:07 PM
Drawing On The iPhone Canvas With jQuery And ColdFusion
Simply awesome. Saved my day. ... read »
Mar 20, 2010 at 9:00 AM
Building A Fixed-Position Bottom Menu Bar (ala FaceBook)
I would like to say thx for an easy way to create a bottom bar. I do have a ?. Is it possible to center the bar if i want to resize it to ex 85%. Regards Offenbach ... read »
Mar 19, 2010 at 7:26 PM
MySQL 3/4 - com.mysql.jdbc.Driver And allowMultiQueries=true
Thank you very much for this post. Adding allowMultiQueries="true" in context.xml didn't help until I added it to url as allowMultiQueries=true Good idea is to use prepared statements and it will he ... read »
Jim
Mar 19, 2010 at 4:49 PM
Nobody Puts Baby In The Corner!
Wow. This is like suddenly finding a support group for your secret shame. I'm not alone! I always liked this movie, even though it is extremely cheesy. I just wish Jennifer Grey hadn't gotten the ... read »
Mar 19, 2010 at 4:47 PM
Application.cfc OnRequest() Method Affects OnError() Arguments
@Jason and @Ben, I've been doing some CF9 refactoring on our systems and noticed an odd occurrence with onError as well. Found a way to work around my problem, but what I saw was... Background: Our ... read »
Jim
Mar 19, 2010 at 4:44 PM
Shoot 'Em Up Starring Clive Owen And Paul Giamatti
I actually enjoyed this movie quite a lot. It was different, certainly, but I think they were going for more of a Quentin Tarentino-"wow, that was weird"-vibe than an actual spoof. Once I realize ... read »
Mar 19, 2010 at 4:34 PM
An Intensive Exploration Of jQuery With Ben Nadel (Video Presentation)
Hey I guess the video is down. Is there anyway you can upload to youtube or vimeo or some other service? Greatly appreciated. ... read »
Mar 19, 2010 at 4:24 PM
ColdFusion CFPOP - My First Look
@Ben Thanks for the follow up! The root of the problem had to do with being able to trace bounced emails to specific records in a DB table. Let's say you run an email campaign and you get 1,000 bou ... read »