VS2005 IDE Crashes While Editing a Converted .NET 1.1 Project

C

Chris Paxton

I have a fairly basic VB.NET application that I converted from VS2003 to
VS2005 and now it crashed the VS2005 IDE pretty regularly while trying to
use the form designer.

I've removed any 3rd references in my projects and recoded methods to remove
any deprecated functions.

Anyone have any suggestions?


These events are logged when it crashes:
--------------------
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1023
Date: 7/25/2007
Time: 12:59:57 PM
User: N/A
Computer: PAXTON3
Description:
..NET Runtime version 2.0.50727.832 - Fatal Execution Engine Error (7A2B8F82)
(0)
--------------------
Event Type: Error
Event Source: Microsoft Visual Studio
Event Category: None
Event ID: 5000
Date: 7/25/2007
Time: 1:00:40 PM
User: N/A
Computer: PAXTON3
Description:
EventType clr20r3, P1 devenv.exe, P2 8.0.50727.762, P3 45716759, P4
system.windows.forms, P5 2.0.0.0, P6 461ef203, P7 228f, P8 40, P9
system.argumentoutofrange, P10 NIL.

Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 64 00 65 00 76 00 .d.e.v.
0018: 65 00 6e 00 76 00 2e 00 e.n.v...
0020: 65 00 78 00 65 00 2c 00 e.x.e.,.
0028: 20 00 38 00 2e 00 30 00 .8...0.
0030: 2e 00 35 00 30 00 37 00 ..5.0.7.
0038: 32 00 37 00 2e 00 37 00 2.7...7.
0040: 36 00 32 00 2c 00 20 00 6.2.,. .
0048: 34 00 35 00 37 00 31 00 4.5.7.1.
0050: 36 00 37 00 35 00 39 00 6.7.5.9.
0058: 2c 00 20 00 73 00 79 00 ,. .s.y.
0060: 73 00 74 00 65 00 6d 00 s.t.e.m.
0068: 2e 00 77 00 69 00 6e 00 ..w.i.n.
0070: 64 00 6f 00 77 00 73 00 d.o.w.s.
0078: 2e 00 66 00 6f 00 72 00 ..f.o.r.
0080: 6d 00 73 00 2c 00 20 00 m.s.,. .
0088: 32 00 2e 00 30 00 2e 00 2...0...
0090: 30 00 2e 00 30 00 2c 00 0...0.,.
0098: 20 00 34 00 36 00 31 00 .4.6.1.
00a0: 65 00 66 00 32 00 30 00 e.f.2.0.
00a8: 33 00 2c 00 20 00 32 00 3.,. .2.
00b0: 32 00 38 00 66 00 2c 00 2.8.f.,.
00b8: 20 00 34 00 30 00 2c 00 .4.0.,.
00c0: 20 00 73 00 79 00 73 00 .s.y.s.
00c8: 74 00 65 00 6d 00 2e 00 t.e.m...
00d0: 61 00 72 00 67 00 75 00 a.r.g.u.
00d8: 6d 00 65 00 6e 00 74 00 m.e.n.t.
00e0: 6f 00 75 00 74 00 6f 00 o.u.t.o.
00e8: 66 00 72 00 61 00 6e 00 f.r.a.n.
00f0: 67 00 65 00 20 00 4e 00 g.e. .N.
00f8: 49 00 4c 00 0d 00 0a 00 I.L.....
--------------------
 
R

rowe_newsgroups

I have a fairly basic VB.NET application that I converted from VS2003 to
VS2005 and now it crashed the VS2005 IDE pretty regularly while trying to
use the form designer.

I've removed any 3rd references in my projects and recoded methods to remove
any deprecated functions.

Anyone have any suggestions?

These events are logged when it crashes:
--------------------
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1023
Date: 7/25/2007
Time: 12:59:57 PM
User: N/A
Computer: PAXTON3
Description:
.NET Runtime version 2.0.50727.832 - Fatal Execution Engine Error (7A2B8F82)
(0)
--------------------
Event Type: Error
Event Source: Microsoft Visual Studio
Event Category: None
Event ID: 5000
Date: 7/25/2007
Time: 1:00:40 PM
User: N/A
Computer: PAXTON3
Description:
EventType clr20r3, P1 devenv.exe, P2 8.0.50727.762, P3 45716759, P4
system.windows.forms, P5 2.0.0.0, P6 461ef203, P7 228f, P8 40, P9
system.argumentoutofrange, P10 NIL.

Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 64 00 65 00 76 00 .d.e.v.
0018: 65 00 6e 00 76 00 2e 00 e.n.v...
0020: 65 00 78 00 65 00 2c 00 e.x.e.,.
0028: 20 00 38 00 2e 00 30 00 .8...0.
0030: 2e 00 35 00 30 00 37 00 ..5.0.7.
0038: 32 00 37 00 2e 00 37 00 2.7...7.
0040: 36 00 32 00 2c 00 20 00 6.2.,. .
0048: 34 00 35 00 37 00 31 00 4.5.7.1.
0050: 36 00 37 00 35 00 39 00 6.7.5.9.
0058: 2c 00 20 00 73 00 79 00 ,. .s.y.
0060: 73 00 74 00 65 00 6d 00 s.t.e.m.
0068: 2e 00 77 00 69 00 6e 00 ..w.i.n.
0070: 64 00 6f 00 77 00 73 00 d.o.w.s.
0078: 2e 00 66 00 6f 00 72 00 ..f.o.r.
0080: 6d 00 73 00 2c 00 20 00 m.s.,. .
0088: 32 00 2e 00 30 00 2e 00 2...0...
0090: 30 00 2e 00 30 00 2c 00 0...0.,.
0098: 20 00 34 00 36 00 31 00 .4.6.1.
00a0: 65 00 66 00 32 00 30 00 e.f.2.0.
00a8: 33 00 2c 00 20 00 32 00 3.,. .2.
00b0: 32 00 38 00 66 00 2c 00 2.8.f.,.
00b8: 20 00 34 00 30 00 2c 00 .4.0.,.
00c0: 20 00 73 00 79 00 73 00 .s.y.s.
00c8: 74 00 65 00 6d 00 2e 00 t.e.m...
00d0: 61 00 72 00 67 00 75 00 a.r.g.u.
00d8: 6d 00 65 00 6e 00 74 00 m.e.n.t.
00e0: 6f 00 75 00 74 00 6f 00 o.u.t.o.
00e8: 66 00 72 00 61 00 6e 00 f.r.a.n.
00f0: 67 00 65 00 20 00 4e 00 g.e. .N.
00f8: 49 00 4c 00 0d 00 0a 00 I.L.....
--------------------

Have you installed the service pack for VS2005?

Are you (or were you) running any Betas of VS2005/.Net 2.0?

Is it just this project or all projects?

Thanks,

Seth Rowe
 
C

Chris Paxton

This is just in one project (converted from VS 2003). I have gone through the project and started commenting all controls. I thick I have narrowed it down to a custom child control. Once this code is commented the project becomes "stable"

Private Sub DealConfirmationStatus_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'set everything to blank pictures on load
InternalStatusPictureBox.Image = StatusImageList.Images(1)
ExternalStatusPictureBox.Image = StatusImageList.Images(1)
EmailedPictureBox.Image = StatusImageList.Images(1)
FaxedPictureBox.Image = StatusImageList.Images(1)
ConfirmationHistoryPictureBox.Image = StatusImageList.Images(1)
UpdateText(InternalStatusPictureBox, "Broker Checkout Status")
UpdateText(ExternalStatusPictureBox, "External Status")
UpdateText(EmailedPictureBox, "Email Status")
UpdateText(FaxedPictureBox, "Fax Status")
UpdateText(ConfirmationHistoryPictureBox, "Confirmation History")

ThreadPool.QueueUserWorkItem(New WaitCallback(AddressOf run))
End Sub

Delegate Sub UpdateToolTipText(ByVal winControl As Object, ByVal param As String)

Private Sub UpdateText(ByVal winControl As Object, ByVal param As String)
If Me.InvokeRequired Then
Me.Invoke(New UpdateToolTipText(AddressOf UpdateText), winControl, param)ElseDetailsToolTip.SetToolTip(winControl, param)
End If
End Sub

Basically what I have is a custom control that runs on it's own thread. It is a series of PictureBoxes that change based off of status codes in the database. (e.g. it shows E if the record has been emailed, F if faxed, etc). I want them to run on their own thread since the status changes often and there could be multiple people working on the record at the same time.

Do you know if there is something inherently worng with the way that I am implementing this thread and delegate?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top