yes you have a problem in your layout.master, this should not be there and needs to be removed:
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
the page load is in the codebehind for the master page which is compiled into mojoPortal.Web.dll, you cannot modify it and you cannot add code to it like that.