Copied to clipboard

Flag this post as spam?

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


  • Jan Brinker 77 posts 103 karma points
    May 06, 2013 @ 11:12
    Jan Brinker
    0

    CSHTML templates not opening in the editor when default rendering engine set to WebForms

    Hi, on my System running 6.0.3 I just recently encountered a minor bug while updating and accidently overwriting my umbracoSettings.config. I built my site completely relying on Razor and MVC, while still having some old and unused WebForms templates in the folder structure. After having my umbracoSettings overwritten and defaultRenderingEngine set back to WebForms, I wasn't able anymore to open up any CSHTML template, the editor would just show an empty file. However it would still display the old WebForms templates without problems. I checked and the files were still on the Server, it just seemed that Umbraco couldn't open them. (maybe it tries to open files with a wrong ending?) The templates are still rendered correctly etc, just the editor won't open them up.

    Also when setting defaultRenderingEngine to Mvc again, everything worked as it should.

Please Sign in or register to post replies

Write your reply to:

Draft