<!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">
To keep session data, you will have to keep a copy of the open sessions
during restart.<br>
<br>
I have not tried to do this, but you might be able to make a file copy
of the "Session" folder and files before the restart,<br>
and copy it back in after.<br>
<br>
If the server stops responding, you will not be able to query it for
open sessions, so I think the above approach is pretty much the only
way.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
G.E.O.-Consulting / Hans M&ouml;rschell skrev:
<blockquote cite="mid:0110431971254FE6BEC48B106DF905D4@hanslaptop"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
  <title>2.0.1 / IIS / .NET instability?</title>
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
  </style></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Hello,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">we
are using MGOS 2.0.1 /
IIS7 / .NET whith an asp solution and the <st1:City w:st="on"><st1:place
 w:st="on">ajax</st1:place></st1:City>
viewer. We have similar errors when using raster images (GDAL , MrSID
and Tiff mages),
I think these problems where already discussed a little time ago, but
as far as
I have seen there are no solution yet ???<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">At
the moment we use a little
monitoring program written in VB to check every 30 seconds if mgserver
is responding
using a simple test layout.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Unfortunately
restart of
mgserver results in loss of session data so this is not a perfect
solution. I
would be very interested in some other ideas how to restart mgserver
without
loosing all user data, are there any suggestions ??<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Hans
M&ouml;rschell<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <p class="MsoNormal"><font color="navy" face="Times New Roman"
 size="3"><span style="font-size: 12pt; color: navy;" lang="EN-GB">&nbsp;</span></font><span
 lang="EN-GB"><o:p></o:p></span></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Von:</span></font></b><font
 face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;">
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] <b><span
 style="font-weight: bold;">Im Auftrag von </span></b>Andy Morsell<br>
  <b><span style="font-weight: bold;">Gesendet:</span></b> Freitag, 18.
Juli 2008
19:32<br>
  <b><span style="font-weight: bold;">An:</span></b> '<st1:PersonName
 w:st="on">MapGuide Users Mail List</st1:PersonName>'<br>
  <b><span style="font-weight: bold;">Betreff:</span></b>
[mapguide-users] 2.0.1 /
IIS / .NET instability?</span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">Hi All,</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">I migrated
my public demo server to 2.0.1 a few weeks
ago.&nbsp; Since then, I have found MapGuide to be much more unstable than
it
had been previously.&nbsp; The service completely locks up (although appears
started to Windows) and cannot be restarted using normal methods and
PSKill is
the only solution to restarting it.&nbsp;</span></font><span lang="EN-US">&nbsp;</span><font
 face="Calibri"><span style="font-family: Calibri;" lang="EN-US"> When
looking at the
server, I usually see an unhandled exception error dialog with
mgserver.exe the
faulting module.&nbsp;</span></font><span lang="EN-US">&nbsp; </span><font
 face="Calibri"><span style="font-family: Calibri;" lang="EN-US">The
one thing that is
different now is that we&#8217;re using a Fusion layout instead of a standard
layout for a site that is regularly accessed.&nbsp;</span></font><span
 lang="EN-US"> </span><font face="Calibri"><span
 style="font-family: Calibri;" lang="EN-US">The
Windows event logs don&#8217;t yield many clues, but the MGOS error.log has
many of these entries:</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&lt;2008-07-17T00:06:08&gt;
&nbsp; Fusion
Viewer&nbsp;&nbsp;</span></font><span lang="EN-US"> </span><font face="Calibri"><span
 style="font-family: Calibri;" lang="EN-US">xxx.127.xxx.41&nbsp; Anonymous</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp;Error:
Invalid argument(s):</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The value
cannot be less than or equal to zero.</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp;StackTrace:</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp; -
MgRenderingServiceHandler.ProcessOperation line
83 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp; -
MgOpQueryFeatures.Execute line 125 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\OpQueryFeatures.cpp</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp; -
MgServerRenderingService.QueryFeatures line 652
file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">&nbsp; -
MgServerRenderingService.RenderForSelection line
1041 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Invalid argument(s):</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">The value
cannot be less than or equal to zero.</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">I know
some folks were working on something to determine
if the mgserver service had locked up and, if so, restart it.&nbsp; Was
anybody</span></font><span lang="EN-US"> </span><font face="Calibri"><span
 style="font-family: Calibri;" lang="EN-US">successful
in making something like this work?&nbsp; It&#8217;s not fun to hit your map
site only to find it not working.</span></font><o:p></o:p></p>
  <p><font face="Calibri" size="3"><span
 style="font-size: 12pt; font-family: Calibri;" lang="EN-US">Thanks,</span></font><o:p></o:p></p>
  <p><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">Andy
Morsell, P.E.</span></font><o:p></o:p></p>
  <p><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">Spatial
Integrators, Inc.</span></font><o:p></o:p></p>
  <p><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="EN-US"><a class="moz-txt-link-abbreviated" href="http://www.SpatialGIS.com">www.SpatialGIS.com</a></span></font><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>