Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

Last post 04-20-2008 2:07 AM by chuanbozhang. 8 replies.

Sort Posts:

  • Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-26-2008, 1:34 PM
    • Loading...
    • christolo
    • Joined on 05-25-2007, 1:57 PM
    • Posts 4

     Anybody out there getting a similar error message? I also get the following errors:

     

    Error    36    'ASP.admin_managepolls_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override

    Error    37    'ASP.admin_managepolls_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' 

     

    Any help is greatly appreciated.

    Thanks.
     

  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-26-2008, 2:44 PM
    • Loading...
    • DavidKiff
    • Joined on 12-07-2006, 11:07 PM
    • Hertfordshire, UK
    • Posts 1,160

    You really should provide some more information!  On guess work:

    You are implementing IHttpHandler however have not implemented IsReusable.  If your not can you copy and paste the class declaration for the admin_managepolls_aspx file?

    Regards

    David Kiff
    http://DavidKiff.co.uk

    -- "Mark As Answer" If my reply helped you --
  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-26-2008, 3:23 PM
    • Loading...
    • christolo
    • Joined on 05-25-2007, 1:57 PM
    • Posts 4

    The code is verbatim, from Admin/ManagePolls.aspx.cs in TheBeerHouse project. I believe on compilation it generates the ASP.admin_managepolls_aspx file.

    Thanks 

  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-27-2008, 1:37 PM
    Answer
    • Loading...
    • Lee Dumond
    • Joined on 11-03-2004, 10:51 AM
    • Decatur, IL USA
    • Posts 854

     I strongly suspect you converted the your project as some point by opening it in VS2008. Is that correct?

    If so, delete the directory "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\app" . Again, these are only temp files and won't be missed. That should solve your issue.

    // ******************************
    if (this.PostHelpedYou)
    {
    MarkAsAnswer();
    }
  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-27-2008, 2:06 PM
    • Loading...
    • christolo
    • Joined on 05-25-2007, 1:57 PM
    • Posts 4

     I didn't ever open it in VS2008; however, deleting those temp files did the trick. Don't know why. Thanks.

  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    02-27-2008, 2:14 PM
    • Loading...
    • Lee Dumond
    • Joined on 11-03-2004, 10:51 AM
    • Decatur, IL USA
    • Posts 854

    christolo:

     I didn't ever open it in VS2008; however, deleting those temp files did the trick. Don't know why. Thanks.

     

    Good deal. I've seen this happen under both scenarios, but it's somewhat more common after conversion, because that can sometimes create new temp files that conflict with the existing ones. 

    // ******************************
    if (this.PostHelpedYou)
    {
    MarkAsAnswer();
    }
  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    03-04-2008, 8:40 AM

     i'm getting the same error message and deleted my temp directories to no avail...

     

    what else can i check? 

  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    03-04-2008, 10:22 AM
    • Loading...
    • christolo
    • Joined on 05-25-2007, 1:57 PM
    • Posts 4

     Well, I don't know if it was by accident that deleting the temp files did the trick, because I also made some pages inherit from System.Web.UI.Page, rebuilt the project, and it worked.

  • Re: Error 35 'ASP.admin_managepolls_aspx.GetTypeHashCode()': no suitable method found to override

    04-20-2008, 2:07 AM
    • Loading...
    • chuanbozhang
    • Joined on 05-22-2007, 4:38 AM
    • Shanghai
    • Posts 1

    I also encountered the same problem, but finally I found the reason.

    I mistake to type the base page, shoud be some BasePage class, but I uses BaseUserControl class, and once I changed to BasePageClass,the pages compiles fines

Page 1 of 1 (9 items)