Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Hi Nick

 

I seem to be getting quite a few errors appearing in my event logs on the server hosting HAP.

 

The error that keeps appearing is:

 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 05/03/2012 17:54:00

Event time (UTC): 05/03/2012 17:54:00

Event ID: dcf324c9080a4eb6beba5f8560769446

Event sequence: 44256

Event occurrence: 891

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/2/Root/HAP-1-129750811636036986

Trust level: Full

Application Virtual Path: /HAP

Application Path: D:\RMNetwork\RMManage\Web Components\HAP\

Machine name:

 

Process information:

Process ID: 2056

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.

at HAP.Web.API.Thumbs.ProcessRequest(HttpContext context) in H:\Documents\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\API\Thumbs.cs:line 75

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

 

Request information:

Request URL:
https://work2.st-maryshigh.derbyshire.sch.uk:443/HAP/api/mycomputer/thumb/W/olympics460.jpg

Request path: /HAP/api/mycomputer/thumb/W/olympics460.jpg

User host address:

User:

Is authenticated: True

Authentication Type: Forms

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 24

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at HAP.Web.API.Thumbs.ProcessRequest(HttpContext context) in H:\Documents\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\API\Thumbs.cs:line 75

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

Custom event details:

 

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

 

I have tried browsing to the API page for this but receive the following error:

 

Server Error in '/HAP' Application.

 

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.]

HAP.Web.API.ThumbsHandler.GetHttpHandler(RequestContext requestContext) in H:\Documents\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\API\Thumbs.cs:30

System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +8948328

System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86

System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 

As far as I can tell - other than not having the icons for images (as it always seems to be a jpg or other image that it is happening on), the only other problem is the amount of entries it keeps putting in the event logs. Do you know how either we can A) Fix it or B) Stop it logging the error?

 

Thanks in advance!

 

Andy

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...