473,626 Members | 3,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NullReferenceEx ception 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.NullRef erenceException ' 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 1373
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.NullRef erenceException ' 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 during a webclient request" .._Hresult = "-2146233079" .._COMPlusExceptionCode ="-532459699" Sorry I don't have the whole error, but this seems to be the only pertinent
5
3075
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 code available (I am running in Debug mode of course). What could be the cause of this? Can someone shed some light on this matter? Kind regards,
11
3736
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 reference not set to an instance of an object." As my references look I seem to be using the old framework(1.0.3705) for this, but re-referencing to the newer framework(1.1.4322) dll's produces the same error. This happens under all...
3
2101
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 steps). 1. Create a new Windows Forms C# solution (I called mine DBChanger). 2. Replace Form1.cs code with this: -------------------- using System;
1
3333
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 .NET Windows Service on the same machine. ..NET 1.1 SP1 Any suggestions?
2
7804
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 in treeview i display the content item in axWebBrowser, i close the sub form normally when i close the main the following error is generated An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll ...
3
1154
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 weightwatchers.fr and since a few days, the site is unreachable at her home. She gets asp.net error messages on her navigator telling her that there was on "object reference not set to an instance of an object". The funny thing is that she was able to connect...
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 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...
16
4901
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 Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be easily verified: Implement the following in a web service method (just raises a SOAPException with a...
0
8265
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8196
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4197
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.