Take a look at the Administration pane and look if there are any agents still reporting to the Gateway server.
If the Gateway server is still the primary Management server for agents you could get this error.
Re-target the agents to an other management or gateway server and delete the Gateway server in the Administration pane=>device management=>Management server.
Regards,
Walter
http://weblogwally.spaces.live.com