cshtml files causing 404 on web site

J Trahair

Well-known member
Joined
May 14, 2008
Messages
175
Location
Spain
Programming Experience
10+
Hi. I've done a tutorial in ASP.net, the pages have .cshtml extensions. It works fine using IIS on localhost - the pages show fine. I uploaded all files and folders correctly, but I get a 404.3:
HTML:
HTTP Error 404.3 - File or directory not found: MIME map policy prevents this request.
Internet Information Services (IIS)
My ISP says 'the hosting account is on Windows servers, the ASP.NET is version 4.'
I attach a zip of the tutorial site. Try http://www.foreversoftware.co.uk/webpagesmovies/Movies.cshtml

I know that .cshtml files aren't normal .html files, but that's what the instructions for uploading said!

What have I missed?
 

Attachments

  • WebPagesMovies.zip
    1.2 MB · Views: 33
Back
Top