no suitable method found to override

I have this error in asp.net c# code that I don't normally see. Here it is...

        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override int GetTypeHashCode() {
            return 960292456;
 

Error      1      'ASP.admin_systems_and_versions_aspx.GetTypeHashCode()':
no suitable method found to override      
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
teststatus2production\7e352623\d1efa770\App_Web_xslh3hfa.0.cs      516

I tried removing the temporary asp.net files and that did not work.
drlewickiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gagan_JauraCommented:
Have you imported System.Web.UI namespace?
0
drlewickiAuthor Commented:
Where? These are crazy files I've never heard of.
0
Gagan_JauraCommented:
Put the name of the partial class (aspx.cs) in the inherits attribute of Page tag in aspx page. For e.g
Partial class XYZ inherits System.Web.UI.Page
Put XYZ in aspx page
<@Page .............. inherits="XYZ">
0
drlewickiAuthor Commented:
I went another way with the code
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.