Solved

.NET 2.0 EventType clr20r3 on Win Server 2003

Posted on 2008-10-07
19
1,250 Views
Last Modified: 2012-05-05
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
Comment
Question by:MisterT25
  • 9
  • 7
  • 2
19 Comments
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 250 total points
ID: 22661926
0
 

Author Comment

by:MisterT25
ID: 22661995
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
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22662095
No problem..post the results :)
0
 

Author Comment

by:MisterT25
ID: 22669269
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22675078
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
 

Author Comment

by:MisterT25
ID: 22675185
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22675195
64-bit or 32-bit O/S?  Any service packs installed?  Did this ever work?  Is there anything in the event log?
0
 

Author Comment

by:MisterT25
ID: 22678212
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22681342
>>I have the My Namespace for Unhandled Exceptions setup to email me
Can you show me how you did that?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:MisterT25
ID: 22681546
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22681563
Could it be having that problem in the event handler, and not be able to send you an email?
0
 

Author Comment

by:MisterT25
ID: 22681639
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22682330
Then, I would think that you might be getting something in the Task Scheduler event log, about having a problem running the job.
0
 

Author Comment

by:MisterT25
ID: 22682393
Where is the Task Scheduler event log?
Thanks
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 22682464
Scheduled Tasks | Advanced | View Log menu
0
 

Author Comment

by:MisterT25
ID: 22682537
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
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 250 total points
ID: 22686453
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
 

Author Comment

by:MisterT25
ID: 22687146
My boss has told me to call MS support for a resolution.  I will award you the points.  Thank you for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now