Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009

    cshtml is not served by IIS 7.5


    When I browse a .cshtml file, I get the following error message.

    This type of page is not served.
    Description: The type of page you have requested is not served because it has been explicitly forbidden.  The extension '.cshtml' may be incorrect.   Please review the URL below and make sure that it
    What should I do to enable this type on IIS 7.5?

    Thanks in advance.

  2. #2
    Join Date
    Feb 2013
    Bangalore, India
    Add respective handler for .cshtml from IIS manager under handler mappings section to work .cshtml page.
    ActiveCares IT services
    Quality web server support

Similar Threads

  1. Godaddy: Upgrade from IIS 6 to IIS 7
    By jawadk in forum Web Hosting
    Replies: 9
    Last Post: 06-02-2009, 01:42 PM
  2. Reverse Proxy Apache ==> IIS, need custom error pages triggered on IIS side
    By tnedator in forum Hosting Security and Technology
    Replies: 0
    Last Post: 12-03-2008, 04:35 PM
  3. phpmyadmin on windows iis server 2003 and iis 6
    By tabish in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-15-2006, 01:08 PM
  4. MMC IIS Connect to Remote IIS not working
    By WebAfrica in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-01-2005, 04:29 AM
  5. First Come = First Served
    By Zach in forum Shared Hosting Offers
    Replies: 1
    Last Post: 03-21-2001, 04:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts