Home Contact

O(geek)

Running in time proportional to Geek.

News

Archives

Post Categories

Syndication:

Windows Server 2003 .NET clr20r3 Error

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.

Feedback

# re: Windows Server 2003 .NET clr20r3 Error

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.
6/30/2008 11:22 AM | Scott

# re: Windows Server 2003 .NET clr20r3 Error

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. 3/5/2009 1:56 PM | Eric

# re: Windows Server 2003 .NET clr20r3 Error

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 11/30/2009 7:39 AM | GreenBerret

# re: Windows Server 2003 .NET clr20r3 Error

I'm facing same issue while running a .net exe from task scedular, it crashes after a while and dr watson pops up. 12/8/2009 11:46 AM | naveed

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: