I received the same error a while back. It turned out to be a permissions issue. The mapping user was not granted read-access to one of the tables in the database view I was using. The view was visible and could be pulled into the map, but it would fail to render due to permissions. Good luck!