Click here to Skip to main content
12,997,210 members (82,133 online)
Rate this:
Please Sign up or sign in to vote.
See more:
No suitable method found to Override.

But, It was alright before my system terminated unexpectedly.

Now I Right Clicked it then

-> Open with Notepad: It shows Null Null Null...and goes on.
Posted 22-Feb-13 0:52am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you have a backup, I would restore from there.
If you don't, then the chances are you will have to start the class again pretty much from scratch.

If your system terminated unexpectedly, it sounds like it was writing the class file when it failed - and the results are a mangled or unreadable file. In all probability, the data in teh file is just rubbish, and cannot be trusted.

Try making a copy of your project folder, and opening VS normally - check if the class file is even slightly readable, or VS may offer to restore a temporary file. If it does, go for it and hope you haven't lost too much work.

And if you don't have a backup, you have just discovered why I have an automated system doing incremental backups of my files each and very hour...
ArunAmalraj 22-Feb-13 7:14am
@ OriginalGriff: Will have a try and let you know further. Thanks!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100