<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That look really odd.<br>
What happens is that Maestro connects to<br>
<a class="moz-txt-link-freetext" href="http://localhost/mapguide">http://localhost/mapguide</a><br>
<br>
but this is really mapped to<br>
<a class="moz-txt-link-freetext" href="http://localhost/mapguide/mapagent/mapagent.fcgi">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
MapGuide.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Praveen Rajendra Babu skrev:
<blockquote
cite="mid:08572EC2CD08C54FAF59B665D20C4F6E0757E29A9C@OSSERVER.OST.com.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Microsoft Sans Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[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">Hi,<o:p></o:p></p>
<p class="MsoNormal"> If I leave the MGOS server (version <span
class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">2.0.2.3011)
idle for a while(like overnight) and then try to
connect to server via Maestro, I get the message. <o:p></o:p></span></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">*************************
Maestro pop-up window message ****************************<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Maestro<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Failed
to log on because:
Failed to connect, please check network connection and login
information.<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Extended
error info: Failed to
connect, perhaps session is expired?<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Extended
error info: Invalid
server token recieved: <html><head><META
http-equiv="Content-Type" content="text/html;
charset=UTF-8"><title>osenlighten -
/mapguide/</title></head><body><H1>osenlighten
-
/mapguide/</H1><hr><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><pre><A
HREF="/">[To Parent Directory]</A><br><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/data/">data</A><br>
Monday, December 22, 2008 3:32
PM &lt;dir&gt; <A
HREF="/mapguide/dotnetviewersample/">dotnetviewersample</A><br>
Tuesday, January 20, 2009 12:02 PM
&lt;dir&gt; <A
HREF="/mapguide/fusion/">fusion</A><br>
Tuesday, January 20, 2009 11:54 AM 1847872 <A
HREF="/mapguide/fusion-1.1.0.zip">fusion-1.1.0.zip</A><br>
Thursday, January 08, 2009 9:46
AM &lt;dir&gt; <A
HREF="/mapguide/fusion-old/">fusion-old</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/localized/">localized</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/mapadmin/">mapadmin</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/mapagent/">mapagent</A><br>
Wednesday, January 21, 2009 6:08 PM
&lt;dir&gt; <A
HREF="/mapguide/mapviewernet/">mapviewernet</A><br>
Tuesday, December 23, 2008 12:24 PM &lt;dir&gt;
<A
HREF="/mapguide/mapviewerphp/">mapviewerphp</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/nad/">nad</A><br>
Friday, January 30, 2009 2:31
PM &lt;dir&gt; <A
HREF="/mapguide/OpenLayers-2.7/">OpenLayers-2.7</A><br>
Friday, January 30, 2009 1:52
PM &lt;dir&gt; <A
HREF="/mapguide/phpviewersample/">phpviewersample</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/schemareport/">schemareport</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/stdicons/">stdicons</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/viewerfiles/">viewerfiles</A><br>
Monday, December 22, 2008 3:27 PM 8245
<A
HREF="/mapguide/webconfig.ini">webconfig.ini</A><br>
Monday, December 22, 2008 3:25
PM &lt;dir&gt; <A
HREF="/mapguide/webstudio/">webstudio</A><br></pre><hr></body></html><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">---------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">OK
<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">*************************
Maestro pop-up window message ****************************</span><o:p></o:p></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">If
I try to connect to the MGOS
server via .NET API code, I get the below message:<o:p></o:p></span></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><html><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><head><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><title>MgConnectionFailedException</title><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><meta
http-equiv="Content-type" content="text/html;
charset=utf-8"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"></head><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><body><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><h2>Cannot
establish
connection.</h2><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Cannot
establish connection.<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";">Exception
occurred in method
MgServerConnection.Open at line 106 in file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\mapguidecommon\Services/ServerConnection.cpp<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"></body><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 8.5pt; font-family: "Microsoft Sans Serif","sans-serif";"></html><o:p></o:p></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">
To get things back
to normal, I re-start WWW services in Windows Server 2003. Am I missing
something in the set-up or configuration of MGOS or IIS Server? FYKI,
we
are using IIS Server v6.0.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="apple-style-span"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Any
comments/suggestions would be
highly appreciated.<o:p></o:p></span></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and regards,<o:p></o:p></p>
<p class="MsoNormal">Praveen<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>