Hi Rodolfo, Just put this line before line 1747, and mapAgentUrl variable will not be null: (don't add the mapAgentUrl Parameter to the getSiteVersion as you mentioned) var mapAgentUrl = getAgentUrl(); This will work Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html