If I copy a page and rename it, but don't rename the Class name, then the two pages will compile and run in DEV but not in TEST.
The error message was bizarre: couldn't find the Eval or Bind verbs. When I fixed these, then it couldn't find the Title or MasterPageFile attributes. This got me thinking.
The solution of course was to rename the second class name to something unique.
Other related posts:
Geek Post Monthly Newsletter Volume 2 Issue 6
Exam 70-300 Objective 3
COALESCE T-SQL Function
Comment by nate, on 11-Apr-2008 12:34
I too have been caught out by this weird behaviour.
Just remember when you copy a page to rename the code behind class.
Add a comment
Please note: comments that are inappropriate or promotional in nature will be deleted.
E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.
Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and shown in this blog post.