Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Fredrik Esseen 590 posts 806 karma points
    Nov 30, 2012 @ 13:09
    Fredrik Esseen

    Im downgrading a site that loads info from a partial view made in Umbraco 5 like this:


    We're trying to load a div with info dynamically from the partial view.

    It works in the Umbraco 5 solution but when I create a cshtml file in Umbraco 4.11 and try to browse it the resource cant be found. I would at least want it to return this error that I get in 5:

    Unable to cast object of type 'ASP._Page_Views_produkter_Index_cshtml' to type 'System.Web.IHttpHandler'.

    Ive noticed that runAllManagedModulesForAllRequests="true" already is in the web.config so that not the problem.

    Except that there is a separate web.config in the Views folder. Ive added the same there but no difference.

    Is it a configuration I have to do in IIS or is there another solution?

Please Sign in or register to post replies

Write your reply to: