<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Im having a bit of a problem with Mapguide using on c# code behind</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I was able to pass the sessionid</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">this is how i got the sessionid on script</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>mapWidget.aMaps[0].getSessionID()</span><br></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>then i pass it to the code behind:</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div> MgSiteConnection conn = new MgSiteConnection();</div><div> MgUserInformation userinfo = new MgUserInformation(sesscionId);</div><div dir="ltr" data-setdir="false"> conn.open()</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">even if i use</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"> MgUserInformation userinfo = new MgUserInformation("Anonymous","")</span></span><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">i am always getting an error but the problem is the error is always, doesnt explain anything</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><img title="Inline image" alt="Inline image" src="cid:af940c66-6b59-c85b-2c94-189efeeb1cd2@yahoo.com" class="yahoo-inline-image" draggable="false" style="max-width: 800px; width: 100%;" data-id="<af940c66-6b59-c85b-2c94-189efeeb1cd2@yahoo.com>"><br><span></span><br></div><div dir="ltr" data-setdir="false">or <span>"Failed to retrieve message for \"MgConfigurationException\"."</span></div><div><br></div></div><div dir="ltr" data-setdir="false">I am quite stuck now, anyone can help?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><br></div></div></body></html>