Geeks With Blogs
O(geek) Ryan Cain, running in time proportional to Geek.

This is more for personal reference, but also just in case anyone else sees the error from the event log below.  This appears to be a catch all exception for a variety of different problems that might occur in a .NET app running on Server 2003.  The application in question is a .NET 3.5 application, and would just not start when copied to 2003.  The running exe would disappear from Taskman and be replaced by DW20.exe (Dr. Watson), which would place the following error into the event log.

Event Type:    Error
Event Source:    .NET Runtime 2.0 Error Reporting
Event Category:    None
Event ID:    5000
Date:        6/17/2008
Time:        7:43:36 AM
User:        N/A
Computer:    PATS
Description:
EventType clr20r3, P1 pats.exe, P2 1.0.0.0, P3 48585526, P4 infrastructure.library, P5 1.0.0.0, P6 4856e351, P7 54, P8 3b, P9 lekhqnpdiyzpb1zxlxqlmnyaxftzwyry, P10 NIL.

A few things to remember when seeing this:

  • Ensure all related DLLs are either in the GAC or bin directory of the given application.  This can happen when there is a failure to load a DLL.  You can use Filemon to see if there are any file not found errors during start.  In my case I had some DLLs from Infragistics that weren't being copied to the bin directory.
  • Reboot after installing .NET 3.5.  If you are starting on a clean image or PC, I have seen this issue crop up if there hasn't been a reboot on the machine after the installation of the .NET Framework.  Note that 3.5 installs 2.0 SP1 and 3.0 SP1 at the same time it installs itself.
  • Finally the error specific to my case, is the wrong database server was setup in the connection string in the app.config.  Why this caused a generic error like this rather than an exception I'm not 100% sure.  But check the connection string if there's data being loaded on startup.
Posted on Thursday, June 19, 2008 7:42 AM Work , .NET 3.5 , Windows Server 2003 | Back to top


Comments on this post: Windows Server 2003 .NET clr20r3 Error

# re: Windows Server 2003 .NET clr20r3 Error
Requesting Gravatar...
FYI, this error is not restricted to Server 2003 (happens on XP), nor to 3.5 apps (2.0 console apps have started throwing it).

I wish I had an answer rather than just more symptoms.
Left by Scott on Jun 30, 2008 11:22 AM

# re: Windows Server 2003 .NET clr20r3 Error
Requesting Gravatar...
I had an error very similar to this previously with a remoting service I was hosting in IIS. If the Application that is running the web site is stopped then you will get an error similar to this.

Also, when running something in IIS with user impersonation, the domain user must be in the IIS Worker Process Group or IIS will refuse to run the app.
Left by Eric on Mar 05, 2009 1:56 PM

# re: Windows Server 2003 .NET clr20r3 Error
Requesting Gravatar...
Heya
I had the same problem... Originally I had an application on the server machine calling a web server also on the same machine...but I used the external IP instead of the internal/loop-back IP (127.0.0.1). It all works 100% fine now and no more stupid clr20r3 errors
Left by GreenBerret on Nov 30, 2009 7:39 AM

# re: Windows Server 2003 .NET clr20r3 Error
Requesting Gravatar...
I'm facing same issue while running a .net exe from task scedular, it crashes after a while and dr watson pops up.
Left by naveed on Dec 08, 2009 11:46 AM

Your comment:
 (will show your gravatar)


Copyright © Ryan Cain | Powered by: GeeksWithBlogs.net