Sounds like a Javascript function which is needed to submit the form isn't being created correctly. Search the HTML source for that function; perhaps it is using some deprecated JS syntax which is causing the function declaration to fail. The function will then be set to "undefined" in the object model and when the login button calls it you get your error message.
http://www.xefteri.com/articles/show.cfm?id=18[
^]
http://delphi.about.com/library/weekly/aa051705a.htm[
^]
ASP.NET registers default postback events with JavaScript, IIRC __doPostBack() was the one I used to call back when I was working with WebForms (thank Gaaawwd those days are over).
Have a looksee at what ASP.NET is rendering. All sorts of weird and wonderful things no doubt.