Is anyone else seeing unhandled web tier exceptions in a Windows install? We
are running AIMS 2014 on Windows 2008 and since mid-April, we are seeing
unhandled errors fairly frequently in the Event Viewer. I think this may not
be an AIMS specific issue.

Here is an example event viewer message: 


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

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 5/1/2014 11:31:05 AM 
Event time (UTC): 5/1/2014 6:31:05 PM 
Event ID: e50c4374ccad40eeb9a91af040f39d7b 
Event sequence: 226 
Event occurrence: 2 
Event detail code: 0 
 
Application information: 
    Application domain:
/LM/W3SVC/1/ROOT/mapserver2014/mapviewerajax-1-130434293279780670 
    Trust level: Full 
    Application Virtual Path: /mapserver2014/mapviewerajax 
    Application Path: C:\Program Files\Autodesk\Autodesk Infrastructure Web
Server Extension 2014\www\mapviewernet\ 
    Machine name: ****
 
Process information: 
    Process ID: 7972 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\MapServer2014AppPool 
 
Exception information: 
    Exception type: MgUnclassifiedException 
    Exception message: Problem:\nThe application encountered a problem and
could not finish the operation you just requested properly.\n\nSolution:\nIf
it\'s the first time you met this problem, try again or restart the
application / session; otherwise, describe the steps to reproduce this
problem to the server administrator for suggestions.
- MgException_GetDetails__SWIG_0() line 202 file MgFoundationApi_wrap.cpp


 
 
Request information: 
    Request URL:
http://****/mapserver2014/mapviewerajax/ajaxviewer.aspx?SESSION=c1117804-d15e-11e3-8000-005056a4008b_en_****&WEBLAYOUT=Library:/Map/Layouts/Layout.WebLayout
 
    Request path: /mapserver2014/mapviewerajax/ajaxviewer.aspx 
    User host address: 1*****
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\MapServer2014AppPool 
 
Thread information: 
    Thread ID: 22 
    Thread account name: IIS APPPOOL\MapServer2014AppPool 
    Is impersonating: False 
    Stack trace:    at
OSGeo.MapGuide.FoundationApiPINVOKE.MgException_GetDetails__SWIG_0(IntPtr
jarg1)
   at OSGeo.MapGuide.MgException.GetDetails()
   at ASP.ajaxviewer_aspx.__Render__control1(HtmlTextWriter __w, Control
parameterContainer) in c:\Program Files\Autodesk\Autodesk Infrastructure Web
Server Extension 2014\www\mapviewernet\mainframe.aspx:line 550
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

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



Based on the stack trace,  it looks like the GetDetails and GetMessages
methods of some MgException objects are themselves throwing exceptions. I've
hacked in some log4net logging into the mainframe.aspx to get a look at
these exceptions before these methods are called. Pasted below is the output
of exception.GetString() method, before the GetDetails method was called
(and ended up throwing an unhandled exception).

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

2014-05-08 15:40:17,892 [21] INFO  MapGuide -
OSGeo.MapGuide.MgSessionExpiredException: Session has expired or is invalid.
Please log in again.
The session (ba4c5d92-d701-11e3-8000-005056a46d9b_en_*****) has expired.
- MgSiteManager.GetConnectionProperties() line 339 file
f:\build\ims2014_knight\build_76.1\ent\os\common\mapguidecommon\Services/SiteManager.cpp

   at OSGeo.MapGuide.MapGuideCommonApiPINVOKE.MgSiteConnection_Open(IntPtr
jarg1, IntPtr jarg2)
   at ASP.ajaxviewer_aspx.__Render__control1(HtmlTextWriter __w, Control
parameterContainer) in c:\Program Files\Autodesk\Autodesk Infrastructure Web
Server Extension 2014\www\mapviewernet\mainframe.aspx:line 87

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


This is happening on two separate load balanced environments.  Is anyone
else seeing similar messages?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Unhandled-exceptions-in-IIS-web-tier-tp5139328.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to