[mapguide-users] MapGuide Server mysteriously dies Revisited

Ivan Miličević ivan at ineo.hr
Fri Sep 15 14:15:29 EDT 2006


Yes, I tried but I have SAME problem as you. Now, deleted files, restarting
CPU and works fine.

 

Thanx a lot.

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: 15. rujan 2006 20:11
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

 

I think you can safely remove those and they will rebuild the first time the
web extensions are accessed.  The problem for me was have an entry in my
path that pointed to one of the locations that had old .dll's, so I would
focus on that.  Otherwise, other people have reported that they get similar
symptoms if they do not have an active network connection.  Have you tried
restarting the MapGuide service?

 

Andy 

  _____  

From: Ivan Milicevic [mailto:ivan at ineo.hr] 
Sent: Friday, September 15, 2006 11:04 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

I've got backup directory inside mapguideopensource and in that directory
there's a lot ?mapguide?.dll. I delete backups (removed on DVD). I couldn't
find any php entry in enviroment. Hope so that this be enough.

 

One question, I found a lot's mapguide dll's in
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\dotnetviewersample\...... Should I delete these files and leave the
newest one?

 

Thnx for answer.

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: 15. rujan 2006 19:37
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

 

Yes, I finally tracked it down to a MapGuide dll conflict in old versions of
PHP I still had installed.  MapGuide decided to start trying to use those
versions instead........ So, removing the old PHP installs and the paths
from the path environment variable did the trick.  Here is the entire
discussion I ended up having offline with Trevor from Autodesk.

 

 

 

--------------------------------

 

Thanks for the lead Trevor, I got it fixed.  I first removed the dll's from
the .NET GAC.  I then discovered that I had some old MapGuide dll's in an
old unused PHP folder and that the PHP folder was in the system path.  Once
I removed that from the path, all seems to be OK now.  I'm not sure why the
install initially worked and then stopped, but it does appear to be have
been a dll hell issue.  I will keep a much closer eye on the dll's from now
on.

 

Thanks again.

 

Andy 

  _____  

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com] 
Sent: Thursday, August 17, 2006 11:05 AM
To: Andy Morsell
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Hi Andy,

 

I'm at a bit of a loss on this one.  Can you also do a search on the machine
to see if Windows has copied the dll's anywhere?  I'm wondering if there's
some .Net GAC stuff going on.  Also, is there a firewall / virus checker on
the machine?  I've heard some spurious reports of certain versions of Norton
Antivirus blocking traffic on ports 2800-2802.

 

Thanks,


Trevor

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Thursday, August 17, 2006 11:44 AM
To: Trevor Wekel
Subject: FW: [mapguide-users] MapGuide Server mysteriously dies Revisited

Hi Trevor,

Do you have any more ideas on things to look at?  I am avoiding uninstalling
and reinstalling the web extensions (which I'm certain will fix the problem
as it did the last time this happened) in the hopes that we can figure out
what is going awry since this has happened more than once.

 

Thanks very much.

 

Andy 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Tuesday, August 15, 2006 1:27 PM
To: 'Trevor Wekel'
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

I tried disabling the ASP file cache - no change.  Here is the result of the
checksum.  It looks the same as yours as far as I can tell.

 

d25e1df33ef99d66dffc86216e8bac78 *ACE.dll
15cf4f71e090f79b1f8f938eed38d9b8 *MapGuideDotNetApi.dll
c1ec782740bcdde14581da9293b1e740 *MapGuideUnmanagedApi.dll
ef61c408bff859634862095170b15fd0 *MgCommon.dll
4818a0cf5c679515412815e9c7f0fe5e *MgCoordinateSystem.dll
48fb11efe77d5e0b3d5bf33e144e76f7 *MgHttpHandler.dll
eee15aa2d917414521b06dc6296f491b *MgMdfModel.dll
0e73ab6724074e9477f186953aec6b62 *MgMdfParser.dll
54ac54ca7e356ec31c198d996f9247cc *MgWebApp.dll
5f3d38b404aa631c3438265785a48192 *xerces-c_2_7.dll

 

Andy 

  _____  

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com] 
Sent: Tuesday, August 15, 2006 11:34 AM
To: Andy Morsell
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Hi Andy,

 

Here's something else to try.  Under the mapviewernet virtual directory, try
disabling the ASP file cache.

 

 

Trevor

 

  _____  

From: Trevor Wekel 
Sent: Tuesday, August 15, 2006 11:59 AM
To: 'Andy Morsell'
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Ok.  Just want to rule out dll corruption.  Can you run a checksum on the
files in C:\Program
Files\Autodesk\MapGuideEnterprise2007\WebServerExtensions\www\mapviewernet\b
in?  I generated the following md5 sums from a clean install of 17804.

 

md5sum *


d25e1df33ef99d66dffc86216e8bac78 *ACE.dll
15cf4f71e090f79b1f8f938eed38d9b8 *MapGuideDotNetApi.dll
c1ec782740bcdde14581da9293b1e740 *MapGuideUnmanagedApi.dll
ef61c408bff859634862095170b15fd0 *MgCommon.dll
4818a0cf5c679515412815e9c7f0fe5e *MgCoordinateSystem.dll
48fb11efe77d5e0b3d5bf33e144e76f7 *MgHttpHandler.dll
eee15aa2d917414521b06dc6296f491b *MgMdfModel.dll
0e73ab6724074e9477f186953aec6b62 *MgMdfParser.dll
54ac54ca7e356ec31c198d996f9247cc *MgWebApp.dll
5f3d38b404aa631c3438265785a48192 *xerces-c_2_7.dll

 

There are some free md5 sum routines listed on the OpenOffice.org site if
you need one for Windows

http://www.openoffice.org/dev_docs/using_md5sums.html#links
<blocked::http://www.openoffice.org/dev_docs/using_md5sums.html#links> 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Tuesday, August 15, 2006 11:36 AM
To: Trevor Wekel
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

After restarting IIS, the error message is back to the original "cannot
establish connection" one.  I've tried stopping and starting WW services,
MapGuide, rebooted several times, etc. all to no avail.  

 

Andy 

  _____  

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com] 
Sent: Tuesday, August 15, 2006 10:27 AM
To: Andy Morsell
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

This is getting even stranger.  Almost sounds like corruption of the .Net
assemblies.  Does stopping and restarting IIS help?

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Tuesday, August 15, 2006 11:20 AM
To: Trevor Wekel
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Yes, everything works except the AJAX and DWF viewers.  Layer and map
previews obviously don't work in Studio either.   No, I have not touched
webconfig.ini and the SitConnectionProperties shows IpAddress=127.0.0.1 and
Port=2802.  

 

I just tried to open a web layout and got this new message:

 

Type 'OSGeo.MapGuide.MgConnectionFailedException' in Assembly
'MapGuideDotNetApi, Version=1.0.0.17804, Culture=neutral,
PublicKeyToken=null' is not marked as serializable.

 

 

Andy 

  _____  

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com] 
Sent: Tuesday, August 15, 2006 10:06 AM
To: Andy Morsell
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Ok.  So you only get the cannot establish connection error when using the
Ajax Viewer?  If all the mapagent tests and WMS requests work then the
viewers should be working as well.  Very strange.  Were their any changes
made to webconfig.ini, or it is still pointing at 127.0.0.1?

 

 

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Tuesday, August 15, 2006 10:59 AM
To: Trevor Wekel
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Yes, server admin works, all mapagent tests work, and all WMS requests work.

 

Thanks.

 

Andy 

  _____  

From: Trevor Wekel [mailto:trevor.wekel at autodesk.com] 
Sent: Tuesday, August 15, 2006 9:45 AM
To: amorsell at spatialgis.com
Cc: Bruce Dechant
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Hi Andy,

 

Does the MapGuide Server Admin still work when you get the Cannot establish
connection error?  

 

Thanks,

 

Trevor

 

  _____  

From: Bruce Dechant 
Sent: Tuesday, August 15, 2006 10:00 AM
To: Trevor Wekel
Subject: FW: [mapguide-users] MapGuide Server mysteriously dies Revisited

Trevor,

 

Can you help Andy please? I can't see his solution of reinstalling being
needed at all.

 

Thanks,

Bruce

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: Monday, August 14, 2006 3:34 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] MapGuide Server mysteriously dies Revisited

 

As happened to me a couple of weeks ago and detailed in this thread:
<blocked::http://www.nabble.com/MapGuide-Enterprise-mysteriously-dies-tf2007
393.html>
http://www.nabble.com/MapGuide-Enterprise-mysteriously-dies-tf2007393.html,
the web extensions have again stopped communicating with the mgserver.  This
is on my development Windows XP laptop and I was traveling for the last
week.  During these travels, I hooked up to various networks and obtained
dynamic IP addresses.  Back in the office, I believe I have renewed the same
IP I had when MapGuide was installed, but don't know for sure.  I have
rebooted, restarted the license server, the web server, the mapguide
service, etc. but I still get the below message. 

Cannot establish connection. Exception occurred in method
MgServerConnection.Open at line 94 in file
c:\build_tux_area\mgdev\common\service\services\ServerConnection.cpp 

It was after traveling that the problem occurred the first time.  So, I am
confident that I can fix the problem by uninstalling and reinstalling the
web extensions (a repair won't work), but that's a bit of a PITA.   Any
suggestions on how I can fix this without a reinstall would be appreciated.

Thanks. 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
 <blocked::http://www.spatialgis.com/> http://www.SpatialGIS.com 

 

Andy Morsell, P.E. 
President 
Spatial Integrators, Inc. 
509-466-3959 
amorsell at SpatialGIS.com 
http://www.SpatialGIS.com <http://www.spatialgis.com/>  

 

 

  _____  

From: Ivan Milicevic [mailto:ivan at ineo.hr] 
Sent: Friday, September 15, 2006 10:22 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] MapGuide Server mysteriously dies Revisited

Andy,

 

I have same problem. Did you find solution? Reason?

 

  _____  

From: Andy Morsell [mailto:amorsell at spatialgis.com] 
Sent: 14. kolovoz 2006 23:34
To: users at mapguide.osgeo.org
Subject: [mapguide-users] MapGuide Server mysteriously dies Revisited

 

As happened to me a couple of weeks ago and detailed in this thread:
<http://www.nabble.com/MapGuide-Enterprise-mysteriously-dies-tf2007393.html>
http://www.nabble.com/MapGuide-Enterprise-mysteriously-dies-tf2007393.html,
the web extensions have again stopped communicating with the mgserver.  This
is on my development Windows XP laptop and I was traveling for the last
week.  During these travels, I hooked up to various networks and obtained
dynamic IP addresses.  Back in the office, I believe I have renewed the same
IP I had when MapGuide was installed, but don't know for sure.  I have
rebooted, restarted the license server, the web server, the mapguide
service, etc. but I still get the below message. 

Cannot establish connection. Exception occurred in method
MgServerConnection.Open at line 94 in file
c:\build_tux_area\mgdev\common\service\services\ServerConnection.cpp 

It was after traveling that the problem occurred the first time.  So, I am
confident that I can fix the problem by uninstalling and reinstalling the
web extensions (a repair won't work), but that's a bit of a PITA.   Any
suggestions on how I can fix this without a reinstall would be appreciated.

Thanks. 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
 <http://www.SpatialGIS.com> http://www.SpatialGIS.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060915/6ab5fcef/attachment.html


More information about the Mapguide-users mailing list