I have upgraded from DNN7 to DNN9 but when I try to log on to the site so as to be able to edit pages, I get the error "A critical error has occurred. Please check the Event Viewer for further details." Looking at the log file I see the stored proc "GetPortalAliasByPortalID" is missing:
