"ASP. adduser_aspx.gettypehashcode ()": no suitable method is found for rewriting.

Source: Internet
Author: User

Compilation Error

Note:An error occurs during compilation of resources required to provide services to this request. Check the following error details and modify the source code as appropriate.

Compiler error message:Cs0115: "ASP. Administrator module _ account information management _ Aspx. gettypehashcode ()": no suitable method is found to override

Source error:

Row 1540:
Line 1541: [system. Diagnostics. debuggernonusercodeattriMerge ()]
Line 1542: Public override int gettypehashcode (){
Row 1543: Return 467426834;
Row 1544 :}

Source File: C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. Net files \ WEB \ 9fedc737 \ 95205c54 \ app_web _ account information management. aspx. f8e4a0a4. cxxhsv mn.0.cs

Row: 1542


The cause of this error is that you are. class Name and. the class names in aspx are different. for example ,. the CS file name is the instructor information. aspx (Instructor information. CS), but in. the name before the load method in the CS file code is _ default, which is caused by inconsistent class names. check carefully.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.