404 - File or Directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
So whenever anyone was clicking the link to this file and a few other files (all were MP4 files that they should have been able to download from or view on our page) were giving this error. What I found was that my settings in IIS 6 weren't correct and I needed to add the right MIME types for the file so that my media server could serve them up properly. I had forgotten to add these MIME types when I found out that we would be hosting files of this type.
To add these MIME types is pretty simple, I will explain what the MIME type is for and how to add them and a few other MIME types into your IIS setup, this should resolve this error. So basically when you add MIME types to IIS you are telling the server what types of files extensions it understands. Files end with things like (.doc) (.xls) (.exe) to specify the type of file they are. Well in IIS you need to tell it how to interact with the files its server and make file types known to IIS so it can host them properly.
So to add these MIME types here is what you do:
Open IIS (command line inetmgr)
Expand the Server Name
Expand the websites
Right Click on the website you want to edit
Choose Properties
Click the HTTP Headers Tab
Click MIME Types button
Click New button
Type in the extension type (.mp4 is mine)
Type in the MIME Type (video/mp4 is mine)
Click OK
Click OK
Click OK
Click Start
Click Run
Type CMD
Hit Enter
Type IISRESET
Hit enter
After the IISRESET has completed you can test your webpage again and verify that the error is gone. The files should work properly now, there is a possibility you will need to reboot the server but its highly unlikely but if the files still don't work you should try a reboot next.
If you are in need of a list of MIME types this site HERE offers a load of the most common MIME types and what you need to enter in IIS to make them work.
Published by TechTips
I am a senior systems engineer and enjoy writing articles about computers, technology and other electronics. View profile
- You Want the Car, so What Should Go Inside? This List Might HelpIt's a car buyer's market, so be sure you equip your new vehicle exactly the way you want it. Don't be stampeded by a salesperson or sales manager. Indeed, walk away, if it isn't exactly what you want.
- When Everyone You Know is Looking for WorkKnowing other people looking for work can be a positive instead of a negative.
- The Top Five Political Masks for Halloween 2009Making fun of politicians is an integral part of American culture. Halloween is probably the best time to do it. You wear a costume anyway, so you might as well get some attention.
The Ten Best Cars Discontinued for the 2010 Model YearIf you are so over top ten lists here is just one more to send you right over the edge.- A Culinary Tour of the Unique State of CaliforniaLooking for some incredible restaurants in California? Take a look at this culinary tour of this unique state!
- "Setup Cannot Copy the File Staxmem.Dll" Error Message
- My Sim-ulated Life
- If You Are Looking for a Great Option in Kitchen Flooring Ceramic Tile Kitchen Flo...
- 6 Places to Visit If You Are a Single Guy
- Search Tips for Adult Adoptees Looking for Birth Parents
- Alternative Anxiety Treatments: 2 that You Can Use Starting Today
- 2010 and Bringing it In, No Matter How Your 2009 Might Have Been




