mscorwks.dll causing error report

  • Thread starter Thread starter Pat Faucher
  • Start date Start date
P

Pat Faucher

Hello group,
I'm developping an application VS .Net 2003. My solution consists of
many C# projects, a few VB.Net projects and a C++ project. The
application runs correctly until a point where an "unrecoverable error
occured" window pops.

Now this window tells me an error occured in module mscorwks.dll.
Further investigation tells me the exception code of the error is
0xC0000005 (supposedly an access violation).

The thing is I have no idea what to do. How can I find out what went
wrong and where it went wrong? I'm also wondering why this error isn't
throwing an exception understandable by my app? Finally, I would like
to know in what manner this DLL interacts with my app?

Thanks

Pat
 
Actually, the problem doesn't occur when I start the application, but
rather 2 to 24 hours in execution, depending on how lucky you are
(sigh).

Pat
 
I'm back and I may have found the problem.

I ran some more tests and it turned out that one of our modules (the
C++ one) was built in debug mode while the rest of them were built in
release mode. I built all of them in release mode and the problem
seems to be solved.

Now I would be very pleased if someone could confirm that the problem
I encountered was caused by the mix of release-debug DLLs.

Thanks

Pat
 
Back
Top