[mapguide-users] MgConnection Error

anniechan03 at yahoo.com anniechan03 at yahoo.com
Sun May 21 20:37:57 PDT 2023


Hi,
Im having a bit of a problem with Mapguide using on c# code behind
I was able to pass the sessionid
this is how i got the sessionid on script
mapWidget.aMaps[0].getSessionID()

then i pass it to the code behind:
                MgSiteConnection conn = new MgSiteConnection();                MgUserInformation userinfo = new MgUserInformation(sesscionId);                conn.open()
even if i use
  MgUserInformation userinfo = new MgUserInformation("Anonymous","")

i am always getting an error but the problem is the error is always, doesnt explain anything


or "Failed to retrieve message for \"MgConfigurationException\"."
I am quite stuck now, anyone can help?
thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230522/16a8ba37/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1684726464414blob.jpg
Type: image/png
Size: 17486 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230522/16a8ba37/attachment.png>


More information about the mapguide-users mailing list