471,318 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

LR20r3 Error

I have a .NET 3.5 C# Windows Application that operates correctly in Windows
XP SP3 and Windows Server 2003.

When I attempt to launch it in Vista Ultimate SP1 it fails ...

Event Type - CLR20r3
Signature 08 - System.NullReference.Exception

It is apparently failing on ...

InitializeComponent();
Any help in finding this "feature" would be greatly appreciated.

.... Thom
__________________________________________________ _
Thom Little - www.tlanet.net - Thom Little Associates, Ltd.
Aug 11 '08 #1
1 1308
Fixed.

The problem was initialization. In Vista ...

private void frmMain_Resize(object sender, EventArgs e )
private void frmMain_SizeChanged(object sender, EventArgs e )
private void frmMain_LocationChanged(object sender, EventArgs e )

.... were all being raised before initialization was complete. The solution
was to add a switch to each that ignores the condition during
initialization.

The problem here was that it only failed in Vista and there was insufficient
information to zero in on the problem. The only solution I could see was to
invest the 4.5 hours to install VisualStudio 2008 on the my test Vista
machine so I could compile and debug it there.

.... Thom
__________________________________________________ _
Thom Little - www.tlanet.net - Thom Little Associates, Ltd.
Aug 12 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.