I have created a custom list with a custom newform. Using all OOTB SharePoint masterpages it works great. I now roll it to our test farm and it errors with a custom masterpage. The error is
The attribute 'autoeventwireup' is not allowed in this page
I've reviewed the custom master page and it actually isn't very custom. It's only custom to include a style sheet and some jquery files. As part of testing I copied the entire contents from v4.master and inserted it into the custom masterpage and it still errors.
If I remove autoeventwireup from my custom page I start getting other errors about page_load, etc. However, i don't want to remove it since it works OOTB.