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

Home Posts Topics Members FAQ

Null Reference Exception on Register Directive

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_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
2 1454
Sorry, this is the wrong place to post this.

**DELETE**

"Paul Prewett" wrote:
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_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 #2

"Paul Prewett" <Pa*********@di scussions.micro soft.comwrote in message
news:CA******** *************** ***********@mic rosoft.com...
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_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?
>
Certainly, try asking the question in
microsoft.publi c.dotnet.framew ork.aspnet
This is a classic ASP group
Thanks,
Paul Prewett

Sep 27 '06 #3

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

Similar topics

5
2182
by: Boniek | last post by:
Hi I define a public property in a new form and I can see this property in table of Properties in Visual. How I can hide this property to see only in code ? Thank's Boniek
0
1605
by: muralidharan | last post by:
WebForm1.aspx Code: <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %> <ComponentArt:TreeView id="TreeView1" Height="520" AutoPostBackOnNodeMove="false" DragAndDropEnabled="true" NodeEditingEnabled="False" KeyboardEnabled="true" CssClass="TreeView" NodeCssClass="TreeNode" SelectedNodeCssClass="SelectedTreeNode" HoverNodeCssClass="HoverTreeNode" NodeEditCssClass="NodeEdit"
5
8923
by: Greg Collins [MVP] | last post by:
I have an ASP.NET page that uses a tag: <asp:Xml id="foo" runat="server" DocumentSource="rss.xml" TransformSource="rss20.xsl" /> This creates a Web page from an XML file that was generated by InfoPath. By default InfoPath inline's their images in base64 encoding. These need to be extracted out to be displayed. I've got my XSL set up to be able to pull out images and manage them separately. According to Microsoft, they need to be decoded...
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**
5
2466
by: serge calderara | last post by:
Dear all, I do not see the difference between Referencing an assembliy for use in my project and Register it on a page ? At the end if I want to use assembly functionnality , I need anyway to add a reference no ?
2
4179
by: Hennie | last post by:
I Get the following error all of a sudden: I do not know what is wrong or where to start looking. I added the Debug="true" directive at the top of the page, but it does not help at all. What can the problem be? This is the complet error message: Server Error in '/MailListManager' Application. ----------------------------------------------------------------------------
5
1853
by: richard.tallent | last post by:
I'm fond of web controls in ASP.NET, but the need for <@ Register%> blocks at the top of each page is a pain. ASP.NET 2.0 has a way to centrally register controls in the web.config file, but it is poorly documented and appears to be broken. I have added my standard user controls to my web.config file. The MSDN examples are flat wrong, by the way (bad XML case and attribute names, won't compile). The proper syntax for registering server...
0
1079
by: Paul Prewett | last post by:
---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:
11
3272
by: MikeT | last post by:
This may sound very elementary, but can you trap when your object is set to null within the object? I have created a class that registers an event from an object passed in the constructor. When my object is destroyed, I want my object to un-register this event. If I don't then the object would never be destroyed until the object I passed in the constructor is destroyed. I have implemented a Dispose(), Dispose(bool), and ~Finalize...
0
10618
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...
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
5546
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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 we have to send another system
2
3850
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.