473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

NullReferenceException on line 1 of .aspx file ?

Hello group,

I'm trying to understand what happened to one of our team member today.
He's getting NullReferenceException on any .aspx from our project he tries
to browse, the error pointing to the first line of the file (be it <%@
Register..., <%@ Page...) with stack :

[NullReferenceException: La référence d'objet n'est pas définie à une
instance d'un objet.]
System.Web.UI.Control.get_Controls()
System.Web.UI.Control.AddParsedSubObject(Object obj)

System.Web.UI.Control.System.Web.UI.IParserAccesso r.AddParsedSubObject(Objec
t obj)
ASP.Default_aspx.__BuildControlTree(Control __ctrl) in
c:\inetpub\wwwroot\FaF\default.aspx:1
ASP.Default_aspx.FrameworkInitialize() in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\faf\201c543a\a3b8d047\lmpx-wds.0.cs:0
System.Web.UI.Page.ProcessRequest()
System.Web.UI.Page.ProcessRequest(HttpContext context)

System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionSte
p.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

Every person in the team has the same code as his, and doesn't get that.
Does anyone know what is happening ?

Thanks
Karine Proot
Jul 21 '05 #1
2 1885
Hi Karine,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that your .aspx page is generating and
NullReferenceException when loading. If there is any misunderstanding,
please feel free to let me know.

From the position the exception is thrown and the stacktrace, we can see
that the web page is trying to register some third party control to the
page. Could you let me know if this page contains any third party control?
If so, that control might not be registered properly on this machine.
Please try to register it.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> a écrit dans le message de
news: <aq**************@cpmsftngxa06.phx.gbl>...
Hi Karine,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that your .aspx page is generating and
NullReferenceException when loading. If there is any misunderstanding,
please feel free to let me know. Correct, but please note that *any* .aspx page of the project is generating
the exception.
From the position the exception is thrown and the stacktrace, we can see
that the web page is trying to register some third party control to the
page. Could you let me know if this page contains any third party control?
If so, that control might not be registered properly on this machine.
Please try to register it.

Indeed, there are 2 third party control in the project (though not present
in all pages). They are registered properly. The machine was rebooted and
all worked fine from then, so we don't know what happened - but everything
is ok now.

Thanks anyway for your help.
Jul 21 '05 #3

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

Similar topics

0
by: monkey king | last post by:
I have a given dll file(PDFCreator.dll) - probably generated by VC++. I want to use its method(PDFCreator()) in dotNet environment. It works well in WindiowsApplication, but bad in WebApplication...
1
by: msnews.microsoft.com | last post by:
I'm trying to fill an array of objects but when I add the first object I get a NullReferenceException. ----------------------------------------------------------------------------...
3
by: PatricQ | last post by:
I use VS.NET and yes I'm a beginner in ASP.NET. Here is the problem: in "%webroot%\components" is the folowing vb code file: framework.vb ---------------------------------------- Imports...
4
by: ven | last post by:
How must i declare my variables to have this code work. I get system.nullreferenceexception every time i click button to add data to datatable here below is my code : Dim wykszt as...
2
by: A. Nonymous | last post by:
Hello, I am trying to set up a panel that appears on a page that prompts a user to enter in a note. This panel object is initially invisable and appears when the user clicks on a button. ...
2
by: G-Fit | last post by:
Hello group, I'm trying to understand what happened to one of our team member today. He's getting NullReferenceException on any .aspx from our project he tries to browse, the error pointing to...
1
by: Craig | last post by:
This is killing me, I've been trying to figure this out for 2 days. When I click on the linkbutton, it executes the GetData(int) method to set the DataSource. The FAILURE is when it tries to...
5
by: Saber | last post by:
in <system.web> of web.config I've: <profile> <properties> <add name="EnterTime" type="System.DateTime" allowAnonymous="true"/> </properties> </profile> And in Session_Start of global.asax:
1
by: paul.hine | last post by:
Hello, I maintain an application that pulls data from a web service and writes it to an Excel sheet. Originally, the app used OleDb to write the Excel. Exports ran fine except that some text...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.