Highlighted

File not found

Explorer ,
Feb 14, 2017

Copy link to clipboard

Copied

I have a file uploaded to my site http://www.mysite.org/coned/media/106.mp4

I looked in the folder, the file is definitely there.

It's a new project, and there are only a couple of other files in the folder, one is an mp3 one is a wmv.  Both of those open.

This mp4 file is giving me a 404 error.

Any thoughts on why?

Thanks

This is most likely because you are using IIS. IIS doesn't come with the MIME type of mp4 by default.

I have had this issue loads of times and its pretty simple to sort out.

Go to the IIS management console - select the server name on the left - choose the MIME Types from the right pane.

If you do not see .mp4 there then you can add it using the following:

Extension:       .mp4

Mime Type:      video/mp4

Check the sites individually to make sure its propagated down, normally it uses its parents defaults so appears in all the sites. If not, add it here as well.

Naturally, if you only want this on one site, add it to that site directly.

Views

909

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

File not found

Explorer ,
Feb 14, 2017

Copy link to clipboard

Copied

I have a file uploaded to my site http://www.mysite.org/coned/media/106.mp4

I looked in the folder, the file is definitely there.

It's a new project, and there are only a couple of other files in the folder, one is an mp3 one is a wmv.  Both of those open.

This mp4 file is giving me a 404 error.

Any thoughts on why?

Thanks

This is most likely because you are using IIS. IIS doesn't come with the MIME type of mp4 by default.

I have had this issue loads of times and its pretty simple to sort out.

Go to the IIS management console - select the server name on the left - choose the MIME Types from the right pane.

If you do not see .mp4 there then you can add it using the following:

Extension:       .mp4

Mime Type:      video/mp4

Check the sites individually to make sure its propagated down, normally it uses its parents defaults so appears in all the sites. If not, add it here as well.

Naturally, if you only want this on one site, add it to that site directly.

Views

910

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 14, 2017 0
Advocate ,
Feb 14, 2017

Copy link to clipboard

Copied

Is that a zero or the letter O?

Try renaming the file to abc.mp4 and see if you can access it.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2017 1
Advocate ,
Feb 15, 2017

Copy link to clipboard

Copied

This is most likely because you are using IIS. IIS doesn't come with the MIME type of mp4 by default.

I have had this issue loads of times and its pretty simple to sort out.

Go to the IIS management console - select the server name on the left - choose the MIME Types from the right pane.

If you do not see .mp4 there then you can add it using the following:

Extension:       .mp4

Mime Type:      video/mp4

Check the sites individually to make sure its propagated down, normally it uses its parents defaults so appears in all the sites. If not, add it here as well.

Naturally, if you only want this on one site, add it to that site directly.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 15, 2017 2
Explorer ,
Feb 15, 2017

Copy link to clipboard

Copied

haxtbh  wrote

This is most likely because you are using IIS.

Thank you!

Yes, this is a Windows server.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 15, 2017 0