<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'>I already tried to restart both and still the same. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Rui<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</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 lang=PT style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span lang=PT style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> prbabu (via
Nabble) [mailto:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2496215&i=0" target="_top" rel="nofollow">ml-user+140549-171910985@...</a>] <br>
<b>Enviada:</b> 17 March 2009 23:22<br>
<b>Para:</b> Rui Daniro<br>
<b>Assunto:</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>&nbsp;</o:p></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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.</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Praveen</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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&amp;node=2494445&amp;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</span><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>prbabu
wrote:</b><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;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 <o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Kenneth
Skovhede, GEOGRAF A/S wrote:</b><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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>
&gt; <br>
&gt; Hi, <br>
&gt; <br>
&gt; &nbsp; &nbsp; If I leave the MGOS server (version 2.0.2.3011) idle for a <br>
&gt; while(like overnight) and then try to connect to server via Maestro, I <br>
&gt; get the message. <br>
&gt; <br>
&gt; ************************* Maestro pop-up window message <br>
&gt; **************************** <br>
&gt; <br>
&gt; --------------------------- <br>
&gt; <br>
&gt; Maestro <br>
&gt; <br>
&gt; --------------------------- <br>
&gt; <br>
&gt; Failed to log on because: Failed to connect, please check network <br>
&gt; connection and login information. <br>
&gt; <br>
&gt; Extended error info: Failed to connect, perhaps session is expired? <br>
&gt; <br>
&gt; Extended error info: Invalid server token recieved:
&lt;html&gt;&lt;head&gt;&lt;META <br>
&gt; http-equiv=&quot;Content-Type&quot; content=&quot;text/html; <br>
&gt; charset=UTF-8&quot;&gt;&lt;title&gt;osenlighten - <br>
&gt; /mapguide/&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;H1&gt;osenlighten -
/mapguide/&lt;/H1&gt;&lt;hr&gt; <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &lt;pre&gt;<a href="/" target="_top" rel="nofollow">[To Parent Directory]</a>&lt;br&gt;&lt;br&gt;
&nbsp; &nbsp;Monday, December <br>
&gt; 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/data/&quot;&gt;data&lt;br&gt; &nbsp; &nbsp;Monday,
December 22, 2008 &nbsp;3:32 <br>
&gt; PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/dotnetviewersample/&quot;&gt;dotnetviewersample&lt;br&gt;
&nbsp; &nbsp; <br>
&gt; Tuesday, January 20, 2009 12:02 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/fusion/&quot;&gt;fusion&lt;br&gt; &nbsp;
&nbsp;Tuesday, January 20, 2009 <br>
&gt; 11:54 AM &nbsp; &nbsp; &nbsp;1847872
&nbsp;HREF=&quot;/mapguide/fusion-1.1.0.zip&quot;&gt;fusion-1.1.0.zip&lt;br&gt;
&nbsp; Thursday, <br>
&gt; January 08, 2009 &nbsp;9:46 AM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/fusion-old/&quot;&gt;fusion-old&lt;br&gt; &nbsp;
&nbsp;Monday, December <br>
&gt; 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/localized/&quot;&gt;localized&lt;br&gt; &nbsp;
&nbsp;Monday, December 22, <br>
&gt; 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/mapadmin/&quot;&gt;mapadmin&lt;br&gt; &nbsp;
&nbsp;Monday, December 22, <br>
&gt; 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/mapagent/&quot;&gt;mapagent&lt;br&gt;
&nbsp;Wednesday, January 21, <br>
&gt; 2009 &nbsp;6:08 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/mapviewernet/&quot;&gt;mapviewernet&lt;br&gt; &nbsp;
Tuesday, <br>
&gt; December 23, 2008 12:24 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/mapviewerphp/&quot;&gt;mapviewerphp&lt;br&gt; &nbsp;
&nbsp;Monday, <br>
&gt; December 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/nad/&quot;&gt;nad&lt;br&gt; &nbsp; &nbsp; Friday, January
30, 2009 &nbsp;2:31 <br>
&gt; PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/OpenLayers-2.7/&quot;&gt;OpenLayers-2.7&lt;br&gt;
&nbsp; &nbsp; Friday, <br>
&gt; January 30, 2009 &nbsp;1:52 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/phpviewersample/&quot;&gt;phpviewersample&lt;br&gt;
&nbsp; &nbsp;Monday, <br>
&gt; December 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/schemareport/&quot;&gt;schemareport&lt;br&gt; &nbsp;
&nbsp;Monday, <br>
&gt; December 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/stdicons/&quot;&gt;stdicons&lt;br&gt; &nbsp;
&nbsp;Monday, December 22, <br>
&gt; 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/viewerfiles/&quot;&gt;viewerfiles&lt;br&gt; &nbsp;
&nbsp;Monday, December <br>
&gt; 22, 2008 &nbsp;3:27 PM &nbsp; &nbsp; &nbsp; &nbsp; 8245
&nbsp;HREF=&quot;/mapguide/webconfig.ini&quot;&gt;webconfig.ini&lt;br&gt;
&nbsp; &nbsp;Monday, <br>
&gt; December 22, 2008 &nbsp;3:25 PM &nbsp; &nbsp; &nbsp; &nbsp;&lt;dir&gt;
&nbsp;HREF=&quot;/mapguide/webstudio/&quot;&gt;webstudio&lt;br&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/body&gt;&lt;/html&gt;
<br>
&gt; <br>
&gt; --------------------------- <br>
&gt; <br>
&gt; OK &nbsp; <br>
&gt; <br>
&gt; ************************* Maestro pop-up window message <br>
&gt; **************************** <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; If I try to connect to the MGOS server via .NET API code, I get the <br>
&gt; below message: <br>
&gt; <br>
&gt; &lt;html&gt; <br>
&gt; <br>
&gt; &lt;head&gt; <br>
&gt; <br>
&gt; &lt;title&gt;MgConnectionFailedException&lt;/title&gt; <br>
&gt; <br>
&gt; &lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html;
charset=utf-8&quot;&gt; <br>
&gt; <br>
&gt; &lt;/head&gt; <br>
&gt; <br>
&gt; &lt;body&gt; <br>
&gt; <br>
&gt; &lt;h2&gt;Cannot establish connection.&lt;/h2&gt; <br>
&gt; <br>
&gt; Cannot establish connection. <br>
&gt; <br>
&gt; Exception occurred in method MgServerConnection.Open at line 106 in <br>
&gt; file <br>
&gt;
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\mapguidecommon\Services/ServerConnection.cpp
<br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &lt;/body&gt; <br>
&gt; <br>
&gt; &lt;/html&gt; <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &nbsp; &nbsp;To get things back to normal, I re-start WWW services in Windows
<br>
&gt; Server 2003. Am I missing something in the set-up or configuration of <br>
&gt; MGOS or IIS Server? &nbsp;FYKI, we are using IIS Server v6.0. <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; Any comments/suggestions would be highly appreciated. <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; Thanks and regards, <br>
&gt; <br>
&gt; Praveen <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; &nbsp; <br>
&gt; <br>
&gt; ------------------------------------------------------------------------ <br>
&gt; <br>
&gt; _______________________________________________ <br>
&gt; mapguide-users mailing list <br>
&gt; <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2494445&amp;i=1" target="_top" rel="nofollow">mapguide-users@...</a> <br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&gt; &nbsp; <br>
<br>
_______________________________________________ <br>
mapguide-users mailing list <br>
<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=2494445&amp;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='mso-margin-top-alt:auto;margin-bottom:12.0pt'>&nbsp;<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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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.</span><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</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-tp2476671p2494445.html" target="_top" rel="nofollow">http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2494445.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>&nbsp;</o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>No virus
found in this incoming message.<br>
Checked by AVG - www.avg.com<br>
Version: 8.0.238 / Virus Database: 270.11.18/2009 - Release Date: 03/18/09
07:17:00</span><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-tp2476671p2496215.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>