Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. compiler error

compiler error

Scheduled Pinned Locked Moved ASP.NET
visual-studiohelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    d_smit
    wrote on last edited by
    #1

    Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!

    A A 2 Replies Last reply
    0
    • D d_smit

      Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Read This, http://forums.asp.net/t/1225330.aspx[^]

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      1 Reply Last reply
      0
      • D d_smit

        Hello, thanks for providing solution to multiselect dropdown . I have downloaded the applications and converted it to vs 2005.After conversion the application is running properly but when i copied usercontrol and page from this application and added to another application i am getting the compilation error mentioned below: CS0115: 'ASP.webform1_aspx.GetTypeHashCode()': no suitable method found to override Line 511: Line 512: [System.Diagnostics.DebuggerNonUserCodeAttribute()] Line 513: public override int GetTypeHashCode() { Line 514: return 1203564985; Line 515: } I am maintaining the same heirarchy and namespace as per original application but unable to resolved it. Please let me know the solution. Thanks in Advance!!

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        Check whether Inherits of your page Directive has proper class that inherits Page or not. This issue occurs when Inherits doesnt find the Class. The Inherits should be pointing to a class which inherits

        System.Web.UI.Page

        . :cool:

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups