Allen Pitts
asked on
CodeFile inheritance
Good afternoon expert,
When I fali to get the aspx and the aspx.cs file line up I get these errors
Error 1 'ASP.security_aspx.GetType HashCode() ': no suitable method found to override c:\WINDOWS\Microsoft.NET\F ramework\v 2.0.50727\ Temporary ASP.NET Files\tk090509\efaaeacc\11 91e53c\App _Web_ndujt r07.0.cs 1288
Error 2 'ASP.security_aspx.Process Request(Sy stem.Web.H ttpContext )': no suitable method found to override c:\WINDOWS\Microsoft.NET\F ramework\v 2.0.50727\ Temporary ASP.NET Files\tk090509\efaaeacc\11 91e53c\App _Web_ndujt r07.0.cs 1293
Error 3 'ASP.security_aspx' does not implement interface member 'System.Web.IHttpHandler.I sReusable' c:\WINDOWS\Microsoft.NET\F ramework\v 2.0.50727\ Temporary ASP.NET Files\tk090509\efaaeacc\11 91e53c\App _Web_ndujt r07.0.cs 208
I had this working in one web site and when I copied over to the new web site it quit working.
At the aspx file the first line is
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="TK090509._Defaul t" %>
Then at aspx.cs file there is
using System;
using System.Collections.Generic ;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TK090509
{
public partial class _Default : System.Web.UI.Page
The name of the web site id TK090509
I am in VS 2005 do something in the back ground when it creates the files?
How can I get them lined up agin?
Thnaks.
Allen in Dallas
When I fali to get the aspx and the aspx.cs file line up I get these errors
Error 1 'ASP.security_aspx.GetType
Error 2 'ASP.security_aspx.Process
Error 3 'ASP.security_aspx' does not implement interface member 'System.Web.IHttpHandler.I
I had this working in one web site and when I copied over to the new web site it quit working.
At the aspx file the first line is
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Then at aspx.cs file there is
using System;
using System.Collections.Generic
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TK090509
{
public partial class _Default : System.Web.UI.Page
The name of the web site id TK090509
I am in VS 2005 do something in the back ground when it creates the files?
How can I get them lined up agin?
Thnaks.
Allen in Dallas
is the namespace correct in both the code behind and aspx page?
ASKER
Yes I think so. Can you not tell by looking at the code I included above? If not how do I determine that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.