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\mapguidecommon\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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > > _______________________________________________ > mapguide-users mailing list > [email protected] > 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-tp2476671p2489081.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
