473,806 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Null Reference Exception on @Register Directive

---ORIGINALLY POSTED INCORRECTLY IN THE ASP CLASSIC FORUM---

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 it points to is:

Line 3: <%@ Register TagPrefix="uc1" TagName="ui_Def ault" Src=" .........

And here's the odd part. This is in a Windows 2003 Load Balancer Cluster,
and this exact same page is working on the other 3 machines in the cluster.
The files are stored on a SAN and each of the machines accesses the SAN to
get the files (i.e. the files are actually physically the exact same files,
so it's not a problem w/ the programming or script).

So this must be a machine configuration problem. I have rebooted. I have
reset IIS. I have cleared out the ASPNETTemporary Files folder. I have
sync'd IIS from the master machine. None of these has helped.

The file that it points to in the src attribute is, of course, there (see
the comment about this same exact file working on the other 3 machines).

I'm rather stumped here. Can anyone give me a nudge in the right direction?

Thanks,
Paul Prewett
Sep 27 '06 #1
0 1079

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

Similar topics

0
323
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...
5
4499
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**
1
1832
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:
0
2116
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);
2
1454
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=" .........
2
2606
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...
1
2728
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
2
8628
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/
7
2800
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...
0
9719
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
9597
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,...
1
10371
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
10110
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...
0
9187
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, 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...
1
7649
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
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
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.