Try ToString()'ing the sessionResourceId, when you're writing it out to the url. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Dynamically-Setting-Initial-Map-Position-and-Scale-tp1818865p6476912.html Sent from the MapGuide Users mailing list archive at Nabble.com.