|
by: Shannon |
last post by:
I am having a very stange issue happen to my web application. I am
trying to develop a simple shopping cart. The code works perfectly
when I run the application under http://localhost/myapp. However, when
I try to run the same app under the machine name http://mymachine/myapp
I recieve a Null Reference Exception and the page crashes. I can't
figure out why this is happening. The Null Reference is referring to a
Session variable...
|
by: Matt |
last post by:
Hi all,
I'm having a very strange problem. The third line in the following code
gives me a null reference exception when used in an ASP.Net web page. The
code is called on the click of a button.
Public Overridable Property SDSVarsSetup() As Boolean
Get
If Not IsNothing(Session("SDSVarsSetup")) Then ' <-- **Exception
occurs here**
|
by: A_StClaire_ |
last post by:
hi,
I have a singleton class called 'Evaluation' which is a utility class
used to determine the strength of a poker hand. two members of
'Evaluation' are highCard and lowCard, two objects of user-defined
class Card.
for some reason I am having null reference problems at the bottom of
the function excerpt shown below:
|
by: webbsk |
last post by:
I keep getting an exception when I call the DataAdapter Update method.
I have been trying to figure out what is causing the null reference
exception for this code for what seems like forever:
private void DoInserts(OdbcDataAdapter odbcDataAdapter, string
tableName)
{
DataTable dataTableChanged =
dsTapes.Tables.GetChanges(DataRowState.Added);
|
by: Paul Prewett |
last post by:
Hi there --
ASP.NET 1.1 - Windows 2003 Web - IIS 6
I have an issue where a Null Reference Exception is being thrown on the
Register directive line when I'm adding a UC to a page. So I get the big
yellow error page, but the line that is highlighted is:
Line 3: <%@ Register TagPrefix="uc1" TagName="ui_Default" Src=" .........
|
|
by: Simon Rigby |
last post by:
Hi folks,
A bizarre problem I am having.
I have a treeview which is bound to an XmlDataSource. The
XMLDataSource.Data property is set to the result of a function that
generates an XML document from a SQL Query. The problem is that the
Treeview renders correctly and expands with the appropriate hierarchy
but clicking anything but the very top node gives me a NULL Reference
Exception. I haven't even got to the stage of doing anything...
|
by: Garg |
last post by:
I have declared an array and when i use it in vb.net, I get a warning
that
variable arrClash has been used before it has been assignes a value. A
null reference exception could result at run time. This is my piece of
code;
Dim arrClash() As String
Dim i As Integer
Dim k As Integer
|
by: Wayne Brantley |
last post by:
If you expose a public property of a usercontrol that accesses an object on
the user control it will give a null reference exception when you wrap that
in an update panel.
Others are having the same problem. Here is a complete example:
http://forums.asp.net/thread/1555836.aspx
Related to this: (But I am not doing dynamic user control creation)
http://www.eightpence.com/null-controls-inside-of-an-updatepanel-in-aspnet-atlas/
|
by: pinman |
last post by:
hi i'm recieveing something called a null reference exception whenever i try to run my code. i am testing for a null value and if it is null i carry out some action, if false i recursively call the same function using the next EVENT array of my custom event class using a basic if, else statement. instead of testing for != null i have also tried testing for == null but get the same response. code is below, also the function is supposed to return...
|
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...
|
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,...
|
|
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,...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|