Is there any option to auto-start DATASNAP application server like MIDAS DCOM server?  Because our DATASNAP server always getting APPCRASH exception.

Comments

  1. Mr. Walter Prins, Why madExcept is not recording this type of APPCRASH error?

    Is there any option we want to enable it?

    ReplyDelete
  2. Sorry I didn't realise what you were saying with "APPCRASH" -- this is effectively Windows hard terminating the program I suppose so is not handleable by madExcept.  (What other crash info does the OS give you with the app crash?  )

    Some quick further googling raise some further thoughts/points : Windows 2012 server is likely set up more strictly by default than (perhaps) your Windows 7 box for things like DEP (Data Execution Prevention). So, it's worth either a) enabling this on Win 7 for user apps (if not already enabled) and then seeing if you can then reproduce the issue on the dev box, or b) alternatively (if allowed) temporarily turn DEP off on the Windows 2012 server (if it's on), to help identify whether or not some kind of memory/pointer issue is at the root of your problem. 

    Other suggestions -- have you checked/tested for memory leaks and other memory anomalies using e.g. FastMM4? Have you tried something like FixInsight to review your code for other subtle problems? (http://sourceoddity.com/fixinsight/

    Hope that helps.

    ReplyDelete
  3. Thanks Mr. Walter Prins, let me try your suggested steps DEP, FastMM4 and FixInsight.

    ReplyDelete

Post a Comment