• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1294
  • Last Modified:

.NET 2.0 EventType clr20r3 on Win Server 2003

Hello,
I am getting the following error on Win Server 2003 (dual core xeon) and .NET 2.0:

EventType clr20r3, P1 rwb.exe, P2 1.0.0.0, P3 48e28f11, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 17c5, P8 1e4, P9 system.argumentexception, P10 NIL.

Let me know if you need more information.
Thank you
Tom
0
Tom Sage
Asked:
Tom Sage
  • 9
  • 7
  • 2
2 Solutions
 
Tom SageAuthor Commented:
Hello,
I do have a ListView control on the Form.  I made the change described in the first link you provided.  I will try this solution.  It may be 1 or 2 days before I am sure if it fixes the problem.

Thank you

0
 
sk_raja_rajaCommented:
No problem..post the results :)
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Tom SageAuthor Commented:
Hello,
We are still getting the same error:

EventType clr20r3, P1 rwb.exe, P2 1.0.0.0, P3 48eba7ab, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 17c5, P8 1e4, P9 system.argumentexception, P10 NIL

Thanks

0
 
Bob LearnedCommented:
We need more information about your environment, and your application configuration.  These errors are a bear to troubleshoot for myself, let alone across the wire.
0
 
Tom SageAuthor Commented:
I develop the program in VS2005 on a dell laptop.  After testing on the laptop, I install the program on the server (Win Server 2003, 4GB mem, dual core xeon).  

The program is basically a batch processing program that gets/sends data to a web service.  The processing is done using the BackgroundWorker control and a ListView control displays the progress of the updates.  It is run every hour by the Windows Task Scheduler.

I have the My Namespace for Unhandled Exceptions setup to email me, but I am not getting emails on this error.  (see the code snippet)  Thanks for any ideas.
Private Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException
            '
            Try
                SMTP.QuickSend("mail.mycompany.com", "myname@mycompany.com", "myname@mycompany.com", "DRWB Error", e.Exception.ToString, BodyPartFormat.Plain)
            Catch ex As Exception
            End Try
            '
            If Environment.UserInteractive Then
                MsgBox("An unexpected error has occurred and is being reported." & vbNewLine & "The program will now close.")
            End If
            '
            e.ExitApplication = True
 
        End Sub

Open in new window

0
 
Bob LearnedCommented:
64-bit or 32-bit O/S?  Any service packs installed?  Did this ever work?  Is there anything in the event log?
0
 
Tom SageAuthor Commented:
All 32 bit. Laptop is XP SP2. Win Server 2003 has SP2. .NET 2.0 SP1 on both.
The program works most of the time.  Sometimes we get this error in the Event viewer:

EventType clr20r3, P1 dtxdealerrwb.exe, P2 1.0.0.0, P3 48eba7ab, P4 mscorlib, P5 2.0.0.0, P6 471ebc5b, P7 17c5, P8 1e4, P9 system.argumentexception, P10 NIL

Thanks

0
 
Bob LearnedCommented:
>>I have the My Namespace for Unhandled Exceptions setup to email me
Can you show me how you did that?
0
 
Tom SageAuthor Commented:
Here are the steps:
- In the Solution Explorer, double-click on My Project
- Click on the Application tab
- Click on the botton View Application Events
- Add the event here
- You can get the email client for free at this URL:

http://www.quiksoft.com/services/dnetregistrations/reg.asp?prod=2000

Let me know if you need more information - Thanks.
0
 
Bob LearnedCommented:
Could it be having that problem in the event handler, and not be able to send you an email?
0
 
Tom SageAuthor Commented:
It could be.  I do know that this event does work sometimes.  I have received emails on unhandled exceptions when used in other programs.  

The common piece is that we only get these errors when the process is run by scheduled tasks.  If we run the batch process when connceted to the server using remote desktop, it works with no errors.  Thanks.
0
 
Bob LearnedCommented:
Then, I would think that you might be getting something in the Task Scheduler event log, about having a problem running the job.
0
 
Tom SageAuthor Commented:
Where is the Task Scheduler event log?
Thanks
0
 
Bob LearnedCommented:
Scheduled Tasks | Advanced | View Log menu
0
 
Tom SageAuthor Commented:
The event log is only showing jobs with exit code of (0).  There are no jobs with errors listed.  The log does not include those jobs that caused an entry in the System event log.  Strange.
0
 
Bob LearnedCommented:
I am not sure of the circumstances when this exception occurs.  Does the application work?  Is this just a random error that occurs at unpredictable times?
0
 
Tom SageAuthor Commented:
My boss has told me to call MS support for a resolution.  I will award you the points.  Thank you for your help.
0
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 9
  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now