Got this error on our dev web application server.

Source: ASP.NET 2.0.50727.0
Category : Web event
Event Id : 1309


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/28/2006 10:27:37 AM
Event time (UTC): 11/28/2006 2:27:37 AM
Event ID: a79edbb8cd8d4191ba5aa148f965ba3b
Event sequence: 25
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/ePAW-1-128091541008243436
Trust level: Full
Application Virtual Path: /webdev
Application Path: C:\Inetpub\wwwroot\webdev\
Machine name: webappdev

Process information:
Process ID: 4400
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpException
Exception message: Invalid CurrentPageIndex value. It must be >= 0 and <
the PageCount.

Request information:
Request URL: https://170.X.X.X/webdev/Maintenance/ManageEmployees.aspx
Request path: /webdev/Maintenance/ManageEmployees.aspx
User host address: 170.X.X.X
User: testuser_1
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean
useDataSource)
at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.BaseDataList.DataBind()
at ePAWForm.ManageEmployees.btnSearch_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at

What will i do? search the web and there's no specific solution for this..

Re: IIS error : Event ID 1309 by David

David
Tue Nov 28 03:09:00 CST 2006

It sounds like your web application has a bug, set a wrong value, and
then did not handle the exception thrown by ASP.Net control. Since the
bug is specific to your web application, you will not find the solution
by searching the web. I suggest debugging your application inside of:
/webdev/Maintenance/ManageEmployees.aspx


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


jcagots wrote:
> Got this error on our dev web application server.
>
> Source: ASP.NET 2.0.50727.0
> Category : Web event
> Event Id : 1309
>
>
> Event code: 3005
> Event message: An unhandled exception has occurred.
> Event time: 11/28/2006 10:27:37 AM
> Event time (UTC): 11/28/2006 2:27:37 AM
> Event ID: a79edbb8cd8d4191ba5aa148f965ba3b
> Event sequence: 25
> Event occurrence: 1
> Event detail code: 0
>
> Application information:
> Application domain: /LM/W3SVC/1/ROOT/ePAW-1-128091541008243436
> Trust level: Full
> Application Virtual Path: /webdev
> Application Path: C:\Inetpub\wwwroot\webdev\
> Machine name: webappdev
>
> Process information:
> Process ID: 4400
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Exception information:
> Exception type: HttpException
> Exception message: Invalid CurrentPageIndex value. It must be >= 0 and <
> the PageCount.
>
> Request information:
> Request URL: https://170.X.X.X/webdev/Maintenance/ManageEmployees.aspx
> Request path: /webdev/Maintenance/ManageEmployees.aspx
> User host address: 170.X.X.X
> User: testuser_1
> Is authenticated: True
> Authentication Type: Forms
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> Thread information:
> Thread ID: 1
> Thread account name: NT AUTHORITY\NETWORK SERVICE
> Is impersonating: False
> Stack trace: at
> System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean
> useDataSource)
> at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
> at System.Web.UI.WebControls.BaseDataList.DataBind()
> at ePAWForm.ManageEmployees.btnSearch_Click(Object sender, EventArgs e)
> at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
> at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
> eventArgument)
> at
> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
> at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
> sourceControl, String eventArgument)
> at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
> at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>
>
> Custom event details:
>
> For more information, see Help and Support Center at
>
> What will i do? search the web and there's no specific solution for this..


Re: IIS error : Event ID 1309 by jcagots

jcagots
Tue Nov 28 04:24:02 CST 2006

Hi David,

Im not a developer or programmer, please tell me what will i tell to the
guys who develop
the web application..How will they trace the bug?

thanks in advance

"David Wang" wrote:

> It sounds like your web application has a bug, set a wrong value, and
> then did not handle the exception thrown by ASP.Net control. Since the
> bug is specific to your web application, you will not find the solution
> by searching the web. I suggest debugging your application inside of:
> /webdev/Maintenance/ManageEmployees.aspx
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> jcagots wrote:
> > Got this error on our dev web application server.
> >
> > Source: ASP.NET 2.0.50727.0
> > Category : Web event
> > Event Id : 1309
> >
> >
> > Event code: 3005
> > Event message: An unhandled exception has occurred.
> > Event time: 11/28/2006 10:27:37 AM
> > Event time (UTC): 11/28/2006 2:27:37 AM
> > Event ID: a79edbb8cd8d4191ba5aa148f965ba3b
> > Event sequence: 25
> > Event occurrence: 1
> > Event detail code: 0
> >
> > Application information:
> > Application domain: /LM/W3SVC/1/ROOT/ePAW-1-128091541008243436
> > Trust level: Full
> > Application Virtual Path: /webdev
> > Application Path: C:\Inetpub\wwwroot\webdev\
> > Machine name: webappdev
> >
> > Process information:
> > Process ID: 4400
> > Process name: w3wp.exe
> > Account name: NT AUTHORITY\NETWORK SERVICE
> >
> > Exception information:
> > Exception type: HttpException
> > Exception message: Invalid CurrentPageIndex value. It must be >= 0 and <
> > the PageCount.
> >
> > Request information:
> > Request URL: https://170.X.X.X/webdev/Maintenance/ManageEmployees.aspx
> > Request path: /webdev/Maintenance/ManageEmployees.aspx
> > User host address: 170.X.X.X
> > User: testuser_1
> > Is authenticated: True
> > Authentication Type: Forms
> > Thread account name: NT AUTHORITY\NETWORK SERVICE
> >
> > Thread information:
> > Thread ID: 1
> > Thread account name: NT AUTHORITY\NETWORK SERVICE
> > Is impersonating: False
> > Stack trace: at
> > System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean
> > useDataSource)
> > at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
> > at System.Web.UI.WebControls.BaseDataList.DataBind()
> > at ePAWForm.ManageEmployees.btnSearch_Click(Object sender, EventArgs e)
> > at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
> > at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
> > eventArgument)
> > at
> > System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
> > at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
> > sourceControl, String eventArgument)
> > at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
> > at System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> >
> >
> > Custom event details:
> >
> > For more information, see Help and Support Center at
> >
> > What will i do? search the web and there's no specific solution for this..
>
>