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 »
11,243 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 »
11,243 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 »
11,243 Comments

Yeah, silly IIS! :)


Aug 11, 2007 at 10:02 AM // reply »
21 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 »
11,243 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 »
26 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 »
11,243 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 »
11,243 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 »
11,243 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 »
11,243 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 »
11,243 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 »
11,243 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 »
11,243 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.


Aug 2, 2012 at 5:47 PM // reply »
1 Comments

Over 5 years later and this is still relevant.

I just went through this same problem pulling my hair out thinking my paths were incorrect, etc.

I just wanted to say Thank You Ben for posting great solutions!

Don't stop, you rock!

Carl



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
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 22, 2013 at 5:35 PM
Script Tags, jQuery, And Html(), Text() And Contents()
This is still an issue 2 years later. jQuery is supposed to remediate these cross browser issues, no? I have been unable to find any statement from the jQuery team calling this behavior "by de ... read »
May 22, 2013 at 12:44 PM
Ask Ben: Query Loop Inside CFScript Tags
In cf10, if you call a function that has: local.result = {}; local.result.msg = ""; local.svc = new query(); local.svc.setSQL("SELECT * FROM..."); local.obj = local.svc.exe ... read »
May 22, 2013 at 12:29 PM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben: What version of Java are you using? Also, did you test users.id to see what Java reports as the data type? I wonder if it's not a Java primitive data type, but getting returned as something ... read »
May 22, 2013 at 11:47 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Dana, Awesome - so it looks like this bug was fixed in ColdFusion 10. Thanks so much for double-checking that. ... read »
May 22, 2013 at 11:37 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
When I c&p and run on cf10, I get: Selected User IDs: 1,4 User 1 selected: YES - YES User 2 selected: NO - NO User 3 selected: NO - NO User 4 selected: YES - YES User 5 selected: NO - ... read »
May 22, 2013 at 11:27 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Tom, Good thought, but no dice. Both of these still exhibit the same behavior: users.id[ users.currentRow ] users[ "id" ][ users.currentRow ] It's just something whacky happening with ... read »
May 22, 2013 at 11:07 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
Could your problem be that "users.id" is actually an ARRAY, not a single value? Perhaps try it again with "users.id[1]" (I only have CF8 here at work). ... read »
May 22, 2013 at 7:52 AM
Nested Views, Routing, And Deep Linking With AngularJS
Hi, Just a quick thank you. As it happens, for my own purposes, the pending ui-router work being done in native angular is likely the one I'll adopt, but your exploration, code and documentation of ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools