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  |  Permalink  |  Other Searches  |  Print Page



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

Reader Comments

Oguz Demirkapi
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 »
6,371 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 »
4 Comments

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


Ed
Jul 26, 2007 at 3:30 PM // reply »
8 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 »
6,371 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 »
6,371 Comments

Yeah, silly IIS! :)


Ameen
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 »
6,371 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 :)


Pavan
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!


Patrick McElhaney
Mar 12, 2008 at 8:49 AM // reply »
17 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 »
6,371 Comments

Sweeeet!


Dan White
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 »
6,371 Comments

@Dan,

Rock on, glad to help :)


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

Nice tip, thank you and stumble!


Andrew Lim
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 »
6,371 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!


Brian
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.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 6, 2009 at 10:10 PM
How To Unformat Your Code (Like A Pro)
The timing of this post is just uncanny. I spent the last 15-20 minutes manually un-formatting my "Ben Nadel" style code within a CFC of mine. I was really digging the readability a few weeks ago, bu ... read »
Roe
Nov 6, 2009 at 5:11 PM
Passing Arrays By Reference In ColdFusion - SWEEET!
ArraySort also reorders the results of these java obj's ... read »
Nov 6, 2009 at 4:53 PM
How To Unformat Your Code (Like A Pro)
I tried to go *back* the other way. Adding formatting is actually a much more complicated problem than removing formatting. Anyway, here is what I could put together with a minimal amount of time: ... read »
Asaf
Nov 6, 2009 at 2:35 PM
ColdFusion GetPageContext() Massive Exploration
Hi, I actually found this post useful. I recently acquired a SSL certificate for my website and when I switched over to HTTPS Internet Explorer would throw an error when trying to download a dynamic ... read »
Nov 6, 2009 at 2:19 PM
How To Unformat Your Code (Like A Pro)
@Chuck, @Nathan, Well, now I feel like it's a challenge.... I accept. ... read »
Nathan Stanford
Nov 6, 2009 at 2:06 PM
How To Unformat Your Code (Like A Pro)
@Chuck, I would love it as well. I was not joking I am very serious I love well formatted code. ... read »
Chuck
Nov 6, 2009 at 1:54 PM
How To Unformat Your Code (Like A Pro)
Ben great job, I happen to like your coding style and find it very easy to understand and follow. @Nathan, I totally agree, I (like the rest of you I assume) am pretty meticulous when it comes to c ... read »
Nov 6, 2009 at 1:21 PM
How To Unformat Your Code (Like A Pro)
@Todd, Ha ha, just having some fun with it ;) ... read »