Skip to content
April 23, 2008 / kiranpatils

Page Building Error Points to temp file

Error 43 ‘ASP.managebooking_alldetails_aspx.GetTypeHashCode()’: no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\developmentwebsite\1a446f94\c51a7975\App_Web_ngex7yua.0.cs 12120

Error 44 ‘ASP.managebooking_alldetails_aspx.ProcessRequest(System.Web.HttpContext)’: no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\developmentwebsite\1a446f94\c51a7975\App_Web_ngex7yua.0.cs 12125

Error 45 ‘ASP.managebooking_alldetails_aspx’ does not implement interface member ‘System.Web.IHttpHandler.IsReusable‘ c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\developmentwebsite\1a446f94\c51a7975\App_Web_ngex7yua.0.cs 1329

I was getting this error..something i had changed i remember but error is not much informative to tell me what i had done wrong. My code which is not working is as under:

—–OLD CODE——
.aspx code

<%@ Page Language=”C#” MasterPageFile=”~/Shared/ManageBookingMasterPage.master” AutoEventWireup=”true” CodeFile=”AllDetails.aspx.cs” Inherits=”Booking_ViewEditBooking_All_AllDetails” %>
.aspx.cs
public partial class ManageBooking_AllDetails
{

}
Suddenly i found the Solution


.aspx code

<%@ Page Language=”C#” MasterPageFile=”~/Shared/ManageBookingMasterPage.master” AutoEventWireup=”true” CodeFile=”AllDetails.aspx.cs” Inherits=”ManageBooking_AllDetails” %>

.aspx.cs class name

public partial class ManageBooking_AllDetails
{
}

you too got it na?? nope..In .aspx file in inherits you should give name of your code-behind[.aspx.cs] file name. That’s it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: