..changing the connection into http one and conn.ResourceService.ResourceExists() works as expected..
any ideas?
I need localnative connection..
Should I use http-connection for these and localnative only for transaction purposes? Where's the bug? Shouldn't the ResourceExists return always false unless the resource is really found?

- mika -


[email protected] kirjoitti 2013-12-12 11:00:
I just can't figure this out, still having this problem with
MaestroAPI 5 + AIMS 2014 combo.

OSGeo.MapGuide.MaestroAPI.IServerConnection conn =

OSGeo.MapGuide.MaestroAPI.ConnectionProviderRegistry.CreateConnection(
                    "Maestro.LocalNative",
                    "ConfigFile", agent,
                    "Username", strMgUsername,
                    "Password", strMgPassword);

content.Text = conn.ResourceService.ResourceExists(field1.Text).ToString();



content.Text is *always* true no matter what the field1.Text is.

If I can't get this sorted out, do you have any suggestions how to
get around from this - how to check if resource exists without getting
any exceptions?



- mika -
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to