I had the same problem, and it seemed to be related to having a custom recordset on the page (ASP VVBScript) with parameters. Basically I created a generic SELECT * query, then added the map, then customized the query with parameters, etc. that worked for me.