Advertisement

11.08.2007 at 05:30AM PST, ID: 22947192
[x]
Attachment Details

Object reference not set to an instance of an object. ASP.NET Error

Asked by chgl in .NET Framework 2.0

Tags: reference, instance, set

Hi

Our main website is currently very unhealthy. We are getting the error below whenever we access any of it's pages. I have also attached the event view trace.

Does anyone have any ideas? Apologies but thisis from a non web developer, if you need anything else, please ask.

Thanks in advance

www.cieh.org

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Cieh.Extranet.Web.PseudoEktron.Menu.Populate(Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Menu.cs:58
   Cieh.Extranet.Web.PseudoEktron.Manager.PopulateMenuArray(Menu[] menus, Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:366
   Cieh.Extranet.Web.PseudoEktron.Manager.Import(ImportMode mode) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:132
   Cieh.Extranet.Web.PseudoEktron.Manager..ctor() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:53
   Cieh.Extranet.Web.PseudoEktron.Manager..cctor() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:28

[TypeInitializationException: The type initializer for 'Cieh.Extranet.Web.PseudoEktron.Manager' threw an exception.]
   Cieh.Extranet.Web.PseudoEktron.Manager.get_Instance() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:58
   Cieh.Extranet.Web.Rewrite.RewriteHtml(String html) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\Rewrite.cs:244
   Cieh.Extranet.Web.UI.Templates.AbstractContentBlockTemplate.Page_Load(Object sender, EventArgs e) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web.UI\Templates\AbstractContentBlockTemplate.cs:77
   Cieh.Extranet.Web.UI.Homepage.Page_Load(Object sender, EventArgs e) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web.UI\Homepage.aspx.cs:28
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 
EVENT VIEWER

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/8/2007 1:15:12 PM
Event time (UTC): 11/8/2007 1:15:12 PM
Event ID: de5fa96c254e41d790fe6bfbb92026e6
Event sequence: 359
Event occurrence: 160
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/603121357/Root-1-128390006713125000
    Trust level: Full
    Application Virtual Path: /
    Application Path: E:\Inetpub\www.cieh.org\wwwroot\
    Machine name: CIEH-WEB02
 
Process information:
    Process ID: 132
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
 
Request information:
    Request URL: https://www.cieh.org/ehn/legal/2006/november/articles/dangerous_wires_posed_safety_risk.htm
    Request path: /ehn/legal/2006/november/articles/dangerous_wires_posed_safety_risk.htm
    User host address: 66.249.66.175
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 5
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at Cieh.Extranet.Web.PseudoEktron.Menu.Populate(Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Menu.cs:line 58
   at Cieh.Extranet.Web.PseudoEktron.Manager.PopulateMenuArray(Menu[] menus, Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:line 366
   at Cieh.Extranet.Web.PseudoEktron.Manager.Import(ImportMode mode) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:line 132
   at Cieh.Extranet.Web.PseudoEktron.Manager..ctor() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:line 53
   at Cieh.Extranet.Web.PseudoEktron.Manager..cctor() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\PseudoEktron\Manager.cs:line 28
 
 
Start Free Trial
[+][-]11.08.2007 at 05:32AM PST, ID: 20240938

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET Framework 2.0
Tags: reference, instance, set
Sign Up Now!
Solution Provided By: surajguptha
Participating Experts: 2
Solution Grade: B
 
 
[+][-]11.08.2007 at 06:07AM PST, ID: 20241211

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.08.2007 at 06:41AM PST, ID: 20241436

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2007 at 06:46AM PST, ID: 20241489

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.09.2007 at 12:33AM PST, ID: 20248105

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628