Can't create site, Visual Studio 2008 errors in assembly (temp files)

All errors refer to auto-generated files, not files that were created by me. Here are a few of them:

'Context' is not a member of 'auth_cookies'
'ProcessRequest' cannot be declared 'Overrides' because it does not override a sub in a base class
'Server' is not a member of 'ASP.auth_cookies_aspx'
Class 'auth_cookies_aspx' must implement 'Sub ProcessRequest(context As HttpContext)' for interface 'System.Web.IHttpHandler'

      

Any help would be appreciated.

EDIT: It turned out that the file he was looking for was not there, fixed this issue and fixed all errors except one:

 Error-5: There can be only one 'page' directive.
 >> C:\Users\darren\Documents\Visual Studio 2008\WebSites\gs_ontheweb\auth\cookies.aspx

      

This is the content of the page : cookies.aspx

<%@ Page Language="VB" MasterPageFile="~/theMaster.master" AutoEventWireup="false" CodeFile="cookies.aspx.vb" Inherits="auth_cookies" title="NOM COOKIES" %>

      

UPDATE. It turns out that one of the linked files had a link to another .aspx page, resulting in 2 page directives being loaded.

0


source to share


2 answers


Have you posted the directive <%@Page%>

on the homepage? It should only have a directive <%@Master%>

.



+1


source


No, the title of my MasterPage is:

<%@ Master Language="VB" CodeFile="theMaster.master.vb" Inherits="theMaster" %>

      



There is no directive on MasterPage <%@Page%>

.

0


source







All Articles