Copied to clipboard

Flag this post as spam?

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


  • Pacoss 9 posts 29 karma points
    Feb 15, 2013 @ 12:52
    Pacoss
    0

    inheriting error in umbraco

    hi

    i'm at the very beginning of moving my site to umbraco.

    i created document types: default (master) and homepage and matching templates. also copied my user controls (.ascx) to usercontrols folder and dll's to bin folder

    but when trying to run site in umbraco, i'm getting this error:

    Unable to cast object of type 'ASP.default_aspx' to type 'RealEstate.UI.UIPageBase'.

    the thing is that my default.aspx inherits my custom UIPageBase.

    and i don't know how to handle that inheriting in umbraco

    thanks for any help

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 15, 2013 @ 17:45
    Jeroen Breuer
    0

    If you're using master pages and user controls you don't need the default.aspx page. Why do you want that page to inherit from UIPageBase?

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft