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.orgObject 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.NullReferenceExcept
ion: 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.PseudoEk
tron.Menu.
Populate(F
older[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Menu.cs
:58
Cieh.Extranet.Web.PseudoEk
tron.Manag
er.Populat
eMenuArray
(Menu[] menus, Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:366
Cieh.Extranet.Web.PseudoEk
tron.Manag
er.Import(
ImportMode
mode) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:132
Cieh.Extranet.Web.PseudoEk
tron.Manag
er..ctor()
in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:53
Cieh.Extranet.Web.PseudoEk
tron.Manag
er..cctor(
) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:28
[TypeInitializationExcepti
on: The type initializer for 'Cieh.Extranet.Web.PseudoE
ktron.Mana
ger' threw an exception.]
Cieh.Extranet.Web.PseudoEk
tron.Manag
er.get_Ins
tance() in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:58
Cieh.Extranet.Web.Rewrite.
RewriteHtm
l(String html) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
Rewrite.cs
:244
Cieh.Extranet.Web.UI.Templ
ates.Abstr
actContent
BlockTempl
ate.Page_L
oad(Object
sender, EventArgs e) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web.
UI\Templat
es\Abstrac
tContentBl
ockTemplat
e.cs:77
Cieh.Extranet.Web.UI.Homep
age.Page_L
oad(Object
sender, EventArgs e) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web.
UI\Homepag
e.aspx.cs:
28
System.EventHandler.Invoke
(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLo
ad(EventAr
gs e) +99
System.Web.UI.Control.Load
Recursive(
) +47
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +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: de5fa96c254e41d790fe6bfbb9
2026e6
Event sequence: 359
Event occurrence: 160
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/603121357/Root-1
-128390006
713125000
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/a
rticles/da
ngerous_wi
res_posed_
safety_ris
k.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.PseudoEk
tron.Menu.
Populate(F
older[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Menu.cs
:line 58
at Cieh.Extranet.Web.PseudoEk
tron.Manag
er.Populat
eMenuArray
(Menu[] menus, Folder[] folders, ContentBlock[] contentBlocks, SqlConnection connection, DataSet ds) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:line 366
at Cieh.Extranet.Web.PseudoEk
tron.Manag
er.Import(
ImportMode
mode) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:line 132
at Cieh.Extranet.Web.PseudoEk
tron.Manag
er..ctor()
in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:line 53
at Cieh.Extranet.Web.PseudoEk
tron.Manag
er..cctor(
) in C:\Projects\CIEH\Visual Studio Project\Cieh.Extranet.Web\
PseudoEktr
on\Manager
.cs:line 28
Start Free Trial