[mapguide-users] Re: Identifing Load Ballenced Server

2011-02-24 Thread doggybs
Hi All Its ok, i've cracked it. MgSite.GetCurrentSiteAddress(); Gets the current server IP address. Thanks James -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Identifing-Load-Ballenced-Server-tp6060660p6060798.html Sent from the MapGuide Users mailing list archive

[mapguide-users] Re: SESSION() in layer filter

2010-11-09 Thread doggybs
Thanks for your reply Jackie, Yes that makes sense. Which is a big same really, you would think that mapguide would almost do a text replace on these functions in the layer filter to replace out the function name with the value, or something similar. Yes a filter of 1 = 1 does work. Thanks

[mapguide-users] SESSION() in layer filter

2010-11-08 Thread doggybs
Hi There I am trying to create a layer which filters on the SESSION() function to compare the mapguide session id to something else. If I use the syntax SESSION() = SESSION() in the layer filter, you would expect it the show all objects, but instead nothing is shown. Using SESSION() for the

[mapguide-users] RE: MgFeatureReader.Close() doesnt close postgis connections

2010-07-14 Thread doggybs
Thank you for you reply Bruce. That make a lot of sense, and explains some of the problems i've been experiencing. In postgres the dafault max connections is 100, where as the default max connection pool in mapguide is 200, which would explain why after a few hour use of the system that

[mapguide-users] MgFeatureReader.Close() doesnt close postgis connections

2010-07-13 Thread doggybs
Hi All I am using the following code in the Mapguide API to return a MgFeatureReader to my postgis data source. featureService.SelectFeatures(featureSourceId, classId.QualifiedClassName, queryOptions); I am using Mapguide2011 with FDO 3.5 When this command is executed I can see from postgis

Re: [mapguide-users] Strange SDF locking problem

2009-08-09 Thread doggybs
would suggest trying to reduce the connection pool to 50 (SDF only has one or two files open). Also, you can try to run MapGuide interactively instead of as a service, and you may see the errors in the console. Regards, Kenneth Skovhede, GEOGRAF A/S doggybs skrev: Hi All I am having

Re: [mapguide-users] Strange SDF locking problem

2009-08-08 Thread doggybs
of as a service, and you may see the errors in the console. Regards, Kenneth Skovhede, GEOGRAF A/S doggybs skrev: Hi All I am having a very strange problem with Mapguide 2010, and I have no idea what the problem could be or where to start looking for it. The problem only seems to happen

[mapguide-users] Strange SDF locking problem

2009-08-07 Thread doggybs
Hi All I am having a very strange problem with Mapguide 2010, and I have no idea what the problem could be or where to start looking for it. The problem only seems to happen in a multi user situation, but what seems to happen is that mapguide will randomly lockout a random selection of SDF