How To - Written by Kerry on Sunday, April 29, 2007 20:53 - 3 Comments

Why won’t my IIS6 web server stream flash video?

The issue: I could not get any of the popular FLV plugins to work on my site. They would all install and posting was easy enough but for some reason they would never start an FLV stream. flash logoSpin and Spin and Spin but never a video play. After trying several of them (there are many good ones and not hard to find) and talking to some developer buddies of mine we determinded it was IIS 6 (Windows 2003) that was the culprit. Since I host my own web sites from my home and everyone who pays for hosting did not seem to experience this behavior – I felt confident there was something different about my setup.

The first thing I found was this TechNote article at Abobe. This really was only half of the issue. Since Windows 2003/IIS6 – by default – no longer supported FLV streamimg the MIME Type had to be fixed first (STEP 1). Then further searching came up with this article. Even though this article was a bit off subject, it was enough to piece the following tutorial together.

It was a three step process to fix.

STEP 1

Go to the “IIS Manager” properties from the Management Console.

Select the “MIME Types…” button to bring up the “MIME Types” dialog box.

If the .flv extension exists, “Edit…” to look like this:

If it does not exist, click “New…” and add the extension and MIME Type as shown above. Simple addition of a MIME Extension for “.flv” with a MIME type value of “flv-application/octet-stream” completes step 1.
This is a global setting for the entire box.

STEP 2

Specific to the site in question.
Have the .flv extension for the particular site handled by ASP.NET.

First, you need the version of ASP.net framework the site is using:
It can be found on the site’s properties ‘ASP.net’ tab.
In my instance I am using version 1.1.4322 of the framework.

Next, select the ‘Home Directory’ Tab.
Click on the ‘Configuration’ button which opens the ‘Application Configuration’ dialog with the ‘Mappings’ tab selected.
Look for .flv in the extensions window, if it is there edit it to look like this:

Notice the Executable is the aspnet_isapi.dll of the websites asp.net version which we found on the site’s ‘ASP.NET’ tab.
In my instance it is .NET 1.1 so I browsed to the following:
C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll

If it is not present, ‘Add’ it instead of ‘Edit’

STEP 3

Restart IIS.

 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us  Twitter  Sphinn  Mixx  Google  DZone 


3 Comments

You can follow responses to this entry through the RSS 2.0 feed. You can leave a response or trackback from your own site.

Mike Ramsey
Jul 18, 2008
03:48 pm
 

I tried what you suggested and other stuff, and I am at a loss as to why I cannot get these videos to work. They work outside (standalone) but not when published to the web. Any help would be greatly appreciated.

Thanks

Nick B
Dec 17, 2008
02:28 pm
 

Step 2 is completely not needed. Why would you set ASP.NET to process flash videos? They are octet streams, binary files not compiled ASP.NET code.

Adobe has published an article on how to correct the issue:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439&sliceId=2

Sam
Dec 19, 2008
02:10 pm
 

Yeah, this didn’t work for me, until I ‘undid’ step #2. Now it works great.

Leave a Reply



BasecampHighrise

Comment



 

Design, News - Nov 10, 2009 21:27 - 0 Comments

My Entries in the WordCamp Boston Logo Contest

More In Design


News - Jan 25, 2010 4:37 - 7 Comments

Branded Login Screen 2.0 Released

More In News


How To - Jul 15, 2008 23:59 - 10 Comments

How WordPress 2.6 Broke My Permalink Structure…

More In How To




Login