[mapguide-users] Unable to connect to MGOS via MapGuideStudio/.NET API

Rui Daniro ruidaniro at hotmail.co.uk
Tue Mar 17 08:16:48 EDT 2009


Nothing at all, the only stuff that I have recorded there was the successful
logs, the last one was before the weekend.

 

De: Ivan Milicevic (via Nabble)
[mailto:ml-user+75048-116490859 at n2.nabble.com] 
Enviada: 17 March 2009 12:10
Para: Rui Daniro
Assunto: RE: [mapguide-users] Unable to connect to MGOS via
MapGuideStudio/.NET API

 

Anything in mapguide error.log? 

-----Original Message----- 
From: mapguide-users-bounces at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=0>  
[mailto:mapguide-users-bounces at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=1> ] On
Behalf Of Rui Daniro 
Sent: Tuesday, March 17, 2009 12:57 PM 
To: mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=2>  
Subject: Re: [mapguide-users] Unable to connect to MGOS via 
MapGuideStudio/.NET API 


Hi all, 

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. 


prbabu wrote: 
> 
> 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. 
> 
> Thanks for your response, though. 
> 
> Regards, 
> Praveen 
> 
> 
> 
> Kenneth Skovhede, GEOGRAF A/S wrote: 
>> 
>> That look really odd. 
>> What happens is that Maestro connects to 
>> http://localhost/mapguide
>> 
>> but this is really mapped to 
>> http://localhost/mapguide/mapagent/mapagent.fcgi
>> 
>> There is some logic inside Maestro (line 1027 in 
>> HttpServerConnection.cs), 
>> that maps from the short form to the long form. 
>> 
>> If the short form fails, the long form is attempted. 
>> If the long form fails, the exception for the short for is thrown, 
>> which is likely what happens here. 
>> 
>> I have no idea why an IIS restart would fix connection problems with 
>> MapGuide. 
>> 
>> Regards, Kenneth Skovhede, GEOGRAF A/S 
>> 
>> 
>> 
>> Praveen Rajendra Babu skrev: 
>>> 
>>> 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        <dir>   HREF="/mapguide/data/">data 

<br>   


>>> Monday, December 22, 2008  3:32 
>>> PM        <dir>   
>>> HREF="/mapguide/dotnetviewersample/">dotnetviewersample <br>     
>>> Tuesday, January 20, 2009 12:02 PM        <dir>   
>>> HREF="/mapguide/fusion/">fusion <br>    Tuesday, January 20, 2009 
>>> 11:54 AM      1847872   
>>> HREF="/mapguide/fusion-1.1.0.zip">fusion-1.1.0.zip <br>   Thursday, 
>>> January 08, 2009  9:46 AM        <dir>   
>>> HREF="/mapguide/fusion-old/">fusion-old <br>    Monday, December 
>>> 22, 2008  3:25 PM        <dir>   
>>> HREF="/mapguide/localized/">localized <br>    Monday, December 22, 
>>> 2008  3:25 PM        <dir> 

HREF="/mapguide/mapadmin/">mapadmin 
>>> <br>    Monday, December 22, 
>>> 2008  3:25 PM        <dir> 
HREF="/mapguide/mapagent/">mapagent 
>>> <br>  Wednesday, January 21, 
>>> 2009  6:08 PM        <dir>   
>>> HREF="/mapguide/mapviewernet/">mapviewernet <br>   Tuesday, 
>>> December 23, 2008 12:24 PM        <dir>   
>>> HREF="/mapguide/mapviewerphp/">mapviewerphp <br>    Monday, 
>>> December 22, 2008  3:25 PM        <dir>   
>>> HREF="/mapguide/nad/">nad <br>     Friday, January 30, 2009  2:31 
>>> PM        <dir> 
HREF="/mapguide/OpenLayers-2.7/">OpenLayers-2.7 


>>> <br>     Friday, 
>>> January 30, 2009  1:52 PM        <dir>   
>>> HREF="/mapguide/phpviewersample/">phpviewersample <br>    Monday, 
>>> December 22, 2008  3:25 PM        <dir>   
>>> HREF="/mapguide/schemareport/">schemareport <br>    Monday, 
>>> December 22, 2008  3:25 PM        <dir>   
>>> HREF="/mapguide/stdicons/">stdicons <br>    Monday, December 22, 
>>> 2008  3:25 PM        <dir>   
>>> HREF="/mapguide/viewerfiles/">viewerfiles <br>    Monday, December 
>>> 22, 2008  3:27 PM         8245   
>>> HREF="/mapguide/webconfig.ini">webconfig.ini <br>    Monday, 
>>> December 22, 2008  3:25 PM        <dir>   
>>> HREF="/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 ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=3>  
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>   
>> 
>> _______________________________________________ 
>> mapguide-users mailing list 
>> mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=4>  
>> 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-tp2476671p2490925.html 
Sent from the MapGuide Users mailing list archive at Nabble.com. 

_______________________________________________ 
mapguide-users mailing list 
mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=5>  
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________ 
mapguide-users mailing list 
mapguide-users at ...
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2490986&i=6>  
http://lists.osgeo.org/mailman/listinfo/mapguide-users



  _____  

This email is a reply to your post @
http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-
tp2476671p2490986.html
You can reply by email or by visting the link above.

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.15/2004 - Release Date: 03/17/09
07:23:00


-- 
View this message in context: http://n2.nabble.com/Unable-to-connect-to-MGOS-via-MapGuide-Studio-.NET-API-tp2476671p2491019.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090317/fb8e4244/attachment.html


More information about the mapguide-users mailing list