We get the following error stack on a page that inherits from our own base class which in turn inherits from EPiServer.TemplatePage.
[EPiServerException: This user control must be placed on an ASPX-page that inherits from EPiServer.PageBase]
EPiServer.UserControlBase.get_PageBase() +137
EPiServer.UserControlBase.get_CurrentPage() +15
...
This seems strange since we are in fact inheriting from PageBase. Can the message be caused by something else?
Hello Kristian
Sorry for the delay in the reply.
I tried a simple User Control to reproduce this error, but I wasn't able to. Could you perhaps post the code you use to get the error?
It seems that the (somewhat embarassing) reason for the error was that we compiled our page template base class against old EPiServer libraries, so this particular problem is solved already. Thanks for answering, though.
[EPiServerException: This user control must be placed on an ASPX-page that inherits from EPiServer.PageBase] EPiServer.UserControlBase.get_PageBase() +137 EPiServer.UserControlBase.get_CurrentPage() +15 ...
This seems strange since we are in fact inheriting from PageBase. Can the message be caused by something else?