473,499 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NullReferenceException after SP1(?)

Dan
I'm experiencing a very strange problem with vsnet2003 and the latest dotnet
1.1 sp1. I have a C# winforms project using Crystal Reports for .NET and
accessing a database which worked fine before upgrading dotnet 1.1 to sp1;
now when I launch its debug version with F5 from the IDE I *immediately* get
the error:

An unhandled exception of type 'System.NullReferenceException' occurred in
Unknown Module.
Additional information: Object reference not set to an instance of an
object.

if I click the Continue button the application starts up and works normally
(or at least it seems so). If I launch the release version with F5 from the
IDE no such error occurs. If I launch the debug version from windows without
using the IDE no exception is thrown. All this happens for this project only
(maybe it is related to Crystal reports? but other projects using it do not
show any problem) and has never happened before I installed the SP1 for
dotNet 1.1, this is why I was thinking that the problem might be somehow
related to this upgrade.

Does anybody have similar problems or any hint about solving them?
Thanks guys!
Jul 21 '05 #1
1 1348
Dan,

All three VB developers at my company have this problem. The only fix we
have found is to reinstall the 1.1 framework without SP1. Unfortunately, our
corporate IS department forces Windows updates (which inlcude SP1) upon us,
so we are forced to periodically reinstall 1.1. This works but is, of
course, very inconvenient. We could sure use a more practical fix. Anybody?

Christopher N.

"Dan" wrote:
I'm experiencing a very strange problem with vsnet2003 and the latest dotnet
1.1 sp1. I have a C# winforms project using Crystal Reports for .NET and
accessing a database which worked fine before upgrading dotnet 1.1 to sp1;
now when I launch its debug version with F5 from the IDE I *immediately* get
the error:

An unhandled exception of type 'System.NullReferenceException' occurred in
Unknown Module.
Additional information: Object reference not set to an instance of an
object.

if I click the Continue button the application starts up and works normally
(or at least it seems so). If I launch the release version with F5 from the
IDE no such error occurs. If I launch the debug version from windows without
using the IDE no exception is thrown. All this happens for this project only
(maybe it is related to Crystal reports? but other projects using it do not
show any problem) and has never happened before I installed the SP1 for
dotNet 1.1, this is why I was thinking that the problem might be somehow
related to this upgrade.

Does anybody have similar problems or any hint about solving them?
Thanks guys!

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
942
by: ptass | last post by:
Hi I've installed win2k3 sp1 on a machine where an openRead on any given file was previously working. After installation, I get a webException as follows... ..message "An exception occurred...
5
3042
by: TT (Tom Tempelaere) | last post by:
Hi, Once in a while my application throws an NullReferenceException at startup, however it appears to be occurring in an unknown module. If I debug it and ask to 'break', then there is no source...
11
3712
by: Andreas Wirén | last post by:
Hi I'm a C# .NET newbie doing a minor school project but I'm getting a strange error message. 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object...
3
2091
by: Me | last post by:
I'm getting a NullReferenceException in Unknown Module when I follow the below steps to create a simple NotifyIcon app that creates the context menu on the fly(see a little analysis after the...
1
3311
by: Samuel R. Neff | last post by:
We just started getting NullReferenceException in one of our applications on our demo server. This is occuring in a .NET Windows Service that is using binary remoting over TCP to talk to another...
2
7776
by: Raed Sawalha | last post by:
i have a windows form(Main) with listview, when click an item in listview i open other window form (Sub) which generate the selected item from parent window in as treeview items when click any item...
3
1148
by: metalseb | last post by:
Hi folks. Just a client-side question to ask. Don't know if this is the right place to ask for specific help. If not, sorry for the noise ;-) Well, a friend of mine tries to access...
1
258
by: Dan | last post by:
I'm experiencing a very strange problem with vsnet2003 and the latest dotnet 1.1 sp1. I have a C# winforms project using Crystal Reports for .NET and accessing a database which worked fine before...
16
4866
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5485
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.