<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sometimes, both the web server and the MapGuide service needs to
be restarted to get things back to normal.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Praveen<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rui Daniro (via
Nabble) [mailto:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2494445&i=0" target="_top" rel="nofollow">ml-user+165274-1835885226@...</a>] <br>
<b>Sent:</b> Tuesday, 17 March 2009 10:57 PM<br>
<b>To:</b> Praveen Rajendra Babu<br>
<b>Subject:</b> Re: [mapguide-users] Unable to connect to MGOS via MapGuide
Studio/.NET API<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi all, <br>
<br>
I am having the same problem, I left the MGOS server (version 2.0.2.3011) idle
for a while(like overnight) and then try to connect to server via Maestro, I
get the sames messages, the only difference is that I am using apache instead
IIS. I tried to restart apache and nothing changed. <o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><b>prbabu wrote:<o:p></o:p></b></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>I am not sure either. What I
did is not allow the worker process to recycle within IIS, even when idle and
also created a separate application pool for mapguide itself. This morning, I
am able to login/see the map without any re-starts. Would not conclude this as
the solution yet - needs more investigation. <br>
<br>
Thanks for your response, though. <br>
<br>
Regards, <br>
Praveen <br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><b>Kenneth Skovhede, GEOGRAF A/S wrote:<o:p></o:p></b></p>
</div>
<div>
<p class=MsoNormal>That look really odd. <br>
What happens is that Maestro connects to <br>
<a href="http://localhost/mapguide" target="_top" rel="nofollow">http://localhost/mapguide</a><br>
<br>
but this is really mapped to <br>
<a href="http://localhost/mapguide/mapagent/mapagent.fcgi" target="_top" rel="nofollow">http://localhost/mapguide/mapagent/mapagent.fcgi</a><br>
<br>
There is some logic inside Maestro (line 1027 in HttpServerConnection.cs), <br>
that maps from the short form to the long form. <br>
<br>
If the short form fails, the long form is attempted. <br>
If the long form fails, the exception for the short for is thrown, <br>
which is likely what happens here. <br>
<br>
I have no idea why an IIS restart would fix connection problems with <br>
MapGuide. <br>
<br>
Regards, Kenneth Skovhede, GEOGRAF A/S <br>
<br>
<br>
<br>
Praveen Rajendra Babu skrev: <br>
> <br>
> Hi, <br>
> <br>
> If I leave the MGOS server (version 2.0.2.3011) idle for a <br>
> while(like overnight) and then try to connect to server via Maestro, I <br>
> get the message. <br>
> <br>
> ************************* Maestro pop-up window message <br>
> **************************** <br>
> <br>
> --------------------------- <br>
> <br>
> Maestro <br>
> <br>
> --------------------------- <br>
> <br>
> Failed to log on because: Failed to connect, please check network <br>
> connection and login information. <br>
> <br>
> Extended error info: Failed to connect, perhaps session is expired? <br>
> <br>
> Extended error info: Invalid server token recieved:
<html><head><META <br>
> http-equiv="Content-Type" content="text/html; <br>
> charset=UTF-8"><title>osenlighten - <br>
> /mapguide/</title></head><body><H1>osenlighten -
/mapguide/</H1><hr> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <pre><a href="/" target="_top" rel="nofollow">[To Parent Directory]</a><br><br>
Monday, December <br>
> 22, 2008 3:25 PM <dir>
HREF="/mapguide/data/">data<br> Monday,
December 22, 2008 3:32 <br>
> PM <dir>
HREF="/mapguide/dotnetviewersample/">dotnetviewersample<br>
<br>
> Tuesday, January 20, 2009 12:02 PM <dir>
HREF="/mapguide/fusion/">fusion<br>
Tuesday, January 20, 2009 <br>
> 11:54 AM 1847872 HREF="/mapguide/fusion-1.1.0.zip">fusion-1.1.0.zip<br>
Thursday, <br>
> January 08, 2009 9:46 AM <dir>
HREF="/mapguide/fusion-old/">fusion-old<br>
Monday, December <br>
> 22, 2008 3:25 PM <dir>
HREF="/mapguide/localized/">localized<br>
Monday, December 22, <br>
> 2008 3:25 PM <dir>
HREF="/mapguide/mapadmin/">mapadmin<br>
Monday, December 22, <br>
> 2008 3:25 PM <dir>
HREF="/mapguide/mapagent/">mapagent<br>
Wednesday, January 21, <br>
> 2009 6:08 PM <dir>
HREF="/mapguide/mapviewernet/">mapviewernet<br>
Tuesday, <br>
> December 23, 2008 12:24 PM <dir>
HREF="/mapguide/mapviewerphp/">mapviewerphp<br>
Monday, <br>
> December 22, 2008 3:25 PM <dir>
HREF="/mapguide/nad/">nad<br> Friday,
January 30, 2009 2:31 <br>
> PM <dir> HREF="/mapguide/OpenLayers-2.7/">OpenLayers-2.7<br>
Friday, <br>
> January 30, 2009 1:52 PM <dir>
HREF="/mapguide/phpviewersample/">phpviewersample<br>
Monday, <br>
> December 22, 2008 3:25 PM <dir>
HREF="/mapguide/schemareport/">schemareport<br>
Monday, <br>
> December 22, 2008 3:25 PM <dir>
HREF="/mapguide/stdicons/">stdicons<br>
Monday, December 22, <br>
> 2008 3:25 PM <dir>
HREF="/mapguide/viewerfiles/">viewerfiles<br>
Monday, December <br>
> 22, 2008 3:27 PM 8245 HREF="/mapguide/webconfig.ini">webconfig.ini<br>
Monday, <br>
> December 22, 2008 3:25 PM <dir>
HREF="/mapguide/webstudio/">webstudio<br></pre><hr></body></html>
<br>
> <br>
> --------------------------- <br>
> <br>
> OK <br>
> <br>
> ************************* Maestro pop-up window message <br>
> **************************** <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> If I try to connect to the MGOS server via .NET API code, I get the <br>
> below message: <br>
> <br>
> <html> <br>
> <br>
> <head> <br>
> <br>
> <title>MgConnectionFailedException</title> <br>
> <br>
> <meta http-equiv="Content-type" content="text/html;
charset=utf-8"> <br>
> <br>
> </head> <br>
> <br>
> <body> <br>
> <br>
> <h2>Cannot establish connection.</h2> <br>
> <br>
> Cannot establish connection. <br>
> <br>
> Exception occurred in method MgServerConnection.Open at line 106 in <br>
> file <br>
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\mapguidecommon\Services/ServerConnection.cpp
<br>
> <br>
> <br>
> <br>
> </body> <br>
> <br>
> </html> <br>
> <br>
> <br>
> <br>
> To get things back to normal, I re-start WWW services in
Windows <br>
> Server 2003. Am I missing something in the set-up or configuration of <br>
> MGOS or IIS Server? FYKI, we are using IIS Server v6.0. <br>
> <br>
> <br>
> <br>
> Any comments/suggestions would be highly appreciated. <br>
> <br>
> <br>
> <br>
> Thanks and regards, <br>
> <br>
> Praveen <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> ------------------------------------------------------------------------ <br>
> <br>
> _______________________________________________ <br>
> mapguide-users mailing list <br>
> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2494445&i=1" target="_top" rel="nofollow">mapguide-users@...</a> <br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
> <br>
<br>
_______________________________________________ <br>
mapguide-users mailing list <br>
<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2494445&i=2" target="_top" rel="nofollow">mapguide-users@...</a> <br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=1 width="100%" noshade style='color:#CCCCCC' align=center>
</div>
<div>
<p class=MsoNormal><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif";
color:#666666'>This email is a reply to your post @ <a href="http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2490925.html" target="_top" rel="nofollow">http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2490925.html</a><br>
You can reply by email or by visting the link above.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2494445.html">RE: [mapguide-users] Unable to connect to MGOS via MapGuide Studio/.NET API</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>