打开asp.net网页时发生错误,重启iis后又能用了,请问这是什么问题呢?请帮解决下,新手...

hedaxiong 2012-05-21 11:09:13
日志名称: 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>
求高手教下怎么解决.....
...全文
77 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,268

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧