[mapguide-users] Unable to connect to MGOS via MapGuide Studio/.NETAPI

prbabu prbabu at openspatial.com.au
Sun Mar 15 20:17:58 EDT 2009


Nope. The IP address is fixed on the server.

Regards,
Praveen



Ivan Milicevic wrote:
> 
> Is your server change IP in the meantime?
> 
>  
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Praveen
> Rajendra Babu
> Sent: Saturday, March 14, 2009 2:14 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Unable to connect to MGOS via MapGuide
> Studio/.NETAPI
> 
>  
> 
> Hi,
> 
>     If I leave 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 message. 
> 
> ************************* Maestro pop-up window message
> ****************************
> 
> ---------------------------
> 
> Maestro
> 
> ---------------------------
> 
> Failed to log on because: Failed to connect, please check network
> connection and login information.
> 
> Extended error info: Failed to connect, perhaps session is expired?
> 
> 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>
> 
>  
> 
>  
> 
>  
> 
> <pre> / [To Parent Directory] <br><br>    Monday, December
> 22, 2008  3:25 PM        &lt;dir&gt;  /mapguide/data/ data <br>    Monday,
> December 22, 2008  3:32
> PM        &lt;dir&gt;  /mapguide/dotnetviewersample/ dotnetviewersample
> <br>
> Tuesday, January 20, 2009 12:02 PM        &lt;dir&gt;  /mapguide/fusion/
> fusion <br>    Tuesday, January 20, 2009
> 11:54 AM      1847872  /mapguide/fusion-1.1.0.zip fusion-1.1.0.zip <br>  
> Thursday,
> January 08, 2009  9:46 AM        &lt;dir&gt;  /mapguide/fusion-old/
> fusion-old <br>    Monday, December 22,
> 2008  3:25 PM        &lt;dir&gt;  /mapguide/localized/ localized <br>   
> Monday, December 22,
> 2008  3:25 PM        &lt;dir&gt;  /mapguide/mapadmin/ mapadmin <br>   
> Monday, December 22, 2008
> 3:25 PM        &lt;dir&gt;  /mapguide/mapagent/ mapagent <br>  Wednesday,
> January 21, 2009
> 6:08 PM        &lt;dir&gt;  /mapguide/mapviewernet/ mapviewernet <br>  
> Tuesday, December
> 23, 2008 12:24 PM        &lt;dir&gt;  /mapguide/mapviewerphp/ mapviewerphp
> <br>    Monday, December
> 22, 2008  3:25 PM        &lt;dir&gt;  /mapguide/nad/ nad <br>     Friday,
> January 30, 2009  2:31 PM
> &lt;dir&gt;  /mapguide/OpenLayers-2.7/ OpenLayers-2.7 <br>
> Friday, January 30, 2009  1:52 PM        &lt;dir&gt; 
> /mapguide/phpviewersample/ phpviewersample <br>    Monday,
> December 22, 2008  3:25 PM        &lt;dir&gt;  /mapguide/schemareport/
> schemareport <br>    Monday, December
> 22, 2008  3:25 PM        &lt;dir&gt;  /mapguide/stdicons/ stdicons <br>   
> Monday, December 22, 2008
> 3:25 PM        &lt;dir&gt;  /mapguide/viewerfiles/ viewerfiles <br>   
> Monday, December
> 22, 2008  3:27 PM         8245  /mapguide/webconfig.ini webconfig.ini <br>   
> Monday, December
> 22, 2008  3:25 PM        &lt;dir&gt;  /mapguide/webstudio/ webstudio
> <br></pre><hr></body></html>
> 
> ---------------------------
> 
> OK   
> 
> ************************* Maestro pop-up window message
> ****************************
> 
>  
> 
>  
> 
> If I try to connect to the MGOS server via .NET API code, I get the
> below message:
> 
> <html>
> 
> <head>
> 
> <title>MgConnectionFailedException</title>
> 
> <meta http-equiv="Content-type" content="text/html; charset=utf-8">
> 
> </head>
> 
> <body>
> 
> <h2>Cannot establish connection.</h2>
> 
> Cannot establish connection.
> 
> Exception occurred in method MgServerConnection.Open at line 106 in file
> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\mapguidec
> ommon\Services/ServerConnection.cpp
> 
>  
> 
> </body>
> 
> </html>
> 
>  
> 
>    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.
> 
>  
> 
> Any comments/suggestions would be highly appreciated.
> 
>  
> 
> Thanks and regards,
> 
> Praveen
> 
>  
> 
>  
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2483503.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list