DrWatson error 4097 is teminating application process

Users are getting kicked off their Citrix session within this applicaiton.  We migrated this application off Windows 2000 Server with Citrix MF XP, to Windows 2003 and Citrix PS4.0.  The following Applicaiton error appears in the event logs.  It looks like this error is an unhandled memory error that the application cannot get to.   Is there anything from the Server side (OS) that can be done about this?

Application error:
Faulting application CIW.exe, version, faulting module msvbvm60.dll, version, fault address 0x0002056b.

Just after this error in the logs we get a DrWatson error (4097) which terminates thte user process/session:
The application, N:\GEN-A-RATE\CIW.exe, generated an application error The error occurred on 08/07/2007 @ 09:43:40.631 The exception generated was c0000005 at address 6602056B (MSVBVM60!_vbaStrComp)


Who is Participating?
>>Is there anything from the Server side (OS) that can be done about this?

No, because 'c0000005' (aka 'STATUS_ACCESS_VIOLATION') is a plain application problem (erroneous coding). What might help would be using a different version of the VB runtime, since the one that is listed in your event log ( is quite unusual: http://support.microsoft.com/dllhelp/?dlltype=file&l=55&alpha=msvbvm60.dll&S=1&x=15&y=12

The highest version there is

abachman20Author Commented:
Jkr: -- Click the next > button at the bottom of the link you sent me.  The list of msvbvm60.dll continues and includes  I compared versions on our Windows 2000 server with what is on the new Windows 2003 server we are trying to run this from and they match (version, file date, etc).
Ooops, missed that. Anyway, if that error didi not occur on W2k, it might be worth a try using the 'older' VB runtime. Copy the DLLs in the application directory and create a ciw.exe.local (empty text file) in that directory for that purpose.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.


Are you also receiving an error 1000? If so, this article on the Citrix site might help:

you can disable dr. watson at all
this is the article talking about how to disable it
Disableing DrWatson will still have the app crash. Kinda like removing the seat belts to prevent accidents...
Tend to object. http://msdn2.microsoft.com/en-us/library/ms811694.aspx ("The End of DLL Hell") introduces the "ciw.exe.local" approach to address that kind of problems.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.