Link to home
Start Free TrialLog in
Avatar of JT_SIRO
JT_SIRO

asked on

404 error on all mwf files on IIS / Windows Server 2008 R2

Is there some sort of file type permissions in IIS?

I'm moving a .NET app over to Win Server and it won't find any reference to any files of the type .mwf.  I use .mwf to show the wave form of a song.  This same code and file structure worked fine in dev on XP.

I thought it was a file permissions issue, but not the case, as I put an image in the folder and was able to find it.  Then I moved a mwf into the images folder to see if it would work and it failed, so I have to believe IIS won't allow me to reference that file type.  Ideas?

Here are the three debug lines I tried:
<a href="Waveforms/testsong.mwf">mwf from Waveforms folder - GOT 404</a>
<a href="Waveforms/beta.png">An image in Waveforms folder - WORKS </a>
<a href="images/testsong.mwf">mwf in images folder - GOT 404</a>
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Hi JT_SIRO,

Those are called Mime types. It sounds like you are missing the responder for mwf. Try adding the following.

IIS Manager,  Just click on the 'mime types' feature and add the following.
File extention : mwf   MIME Type: application/octet-stream

Cheers,
Hades666
Avatar of JT_SIRO
JT_SIRO

ASKER

I just figured that out but am unsure what MIMI Type to user.  Windows recognizes the extension but IIS doesn't.  In the registry is just says 'binary' for content type.  Does application/octet-stream cover that?  I just want to make sure I don't corrupt anything by putting the wrong type in.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JT_SIRO

ASKER

I'm not having any luck.  I'm not sure if it's that the type is incorrect of what...  I've emailed the Flash developer who created the wmf type.  
Hi,

Please refer the following article url for the same:

http://www.filesuffix.com/extension/mwf.html