打开asp.net网页时发生错误,重启iis后又能用了,请问这是什么问题呢?请帮解决下,新手...
日志名称: Application来源: ASP.NET 2.0.50727.0
日期: 2012/5/21 9:18:18
事件 ID: 1309
任务类别: (3)
级别: 警告
关键字: 经典
用户: 暂缺
计算机: WWW
描述:
Event code: 3005
Event message: 发生了未处理的异常。
Event time: 2012/5/21 9:18:18
Event time (UTC): 2012/5/21 1:18:18
Event ID: 4bb6ca83ec05423b9c03a2bb4c9535e6
Event sequence: 1728
Event occurrence: 328
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-129819898326206986
Trust level: Full
Application Virtual Path: /
Application Path: E:\wwwroot\
Machine name: WWW
Process information:
Process ID: 3920
Process name: w3wp.exe
Account name: IIS APPPOOL\DefaultAppPool32
Exception information:
Exception type: IndexOutOfRangeException
Exception message: nt_id
Request information:
Request URL: http://www.1952tea.com/franchise.aspx
Request path: /franchise.aspx
User host address: 125.77.184.87
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\DefaultAppPool32
Thread information:
Thread ID: 18
Thread account name: IIS APPPOOL\DefaultAppPool32
Is impersonating: False
Stack trace: 在 hxy.DAL.NewTypeService.GetNewTypeByNt_id(Int32 nt_id)
在 hxy.DAL.NewsnService.GetNewsnTable(DataTable table, DataRow row)
在 hxy.DAL.NewsnService.GetAllByType(Int32 type, Int32 TopIndex)
在 hxy.BLL.NewsnManager.GetAllByType(Int32 type, Int32 TopIndex)
在 pages_control_index_JMDT.Page_Load(Object sender, EventArgs e)
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-05-21T01:18:18.000000000Z" />
<EventRecordID>4275</EventRecordID>
<Channel>Application</Channel>
<Computer>WWW</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>发生了未处理的异常。</Data>
<Data>2012/5/21 9:18:18</Data>
<Data>2012/5/21 1:18:18</Data>
<Data>4bb6ca83ec05423b9c03a2bb4c9535e6</Data>
<Data>1728</Data>
<Data>328</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT-1-129819898326206986</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>E:\wwwroot\</Data>
<Data>WWW</Data>
<Data>
</Data>
<Data>3920</Data>
<Data>w3wp.exe</Data>
<Data>IIS APPPOOL\DefaultAppPool32</Data>
<Data>IndexOutOfRangeException</Data>
<Data>nt_id</Data>
<Data>http://www.1952tea.com/franchise.aspx</Data>
<Data>/franchise.aspx</Data>
<Data>125.77.184.87</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>IIS APPPOOL\DefaultAppPool32</Data>
<Data>18</Data>
<Data>IIS APPPOOL\DefaultAppPool32</Data>
<Data>False</Data>
<Data> 在 hxy.DAL.NewTypeService.GetNewTypeByNt_id(Int32 nt_id)
在 hxy.DAL.NewsnService.GetNewsnTable(DataTable table, DataRow row)
在 hxy.DAL.NewsnService.GetAllByType(Int32 type, Int32 TopIndex)
在 hxy.BLL.NewsnManager.GetAllByType(Int32 type, Int32 TopIndex)
在 pages_control_index_JMDT.Page_Load(Object sender, EventArgs e)
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
</EventData>
</Event>
求高手教下怎么解决.....
补充:.NET技术 , ASP.NET