1/1页1 跳转到查看:456
发新话题 回复该主题

[0509][后台]频道里的栏目分类过多出现死循环

[0509][后台]频道里的栏目分类过多出现死循环

自定义频道里的栏目分类等级过深或分类过多,在添加文章的时候会就出现死循环!但是把分类目录删除又没有问题了?


建议技术人员好好研究一下你这里的循环: protected void GetClassList(DropDownList lst, int ParentID, int Layer, int gID)  文件名:content_add.aspx.cs

可下载我提供的数据库研究,数据库在群26035523共享中,下载附加即可



错误描述如下:
操作描述:

  • System.InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。 在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) 在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) 在 System.Data.SqlClient.SqlConnection.Open() 在 NetCMS.DALProfile.DbHelper.PrepareCommand(DbCommand cmd, DbConnection conn, DbTransaction trans, CommandType cmdType, String cmdText, DbParameter[] cmdParms) 位置 D:\qqq\NetCMS.DALProfile\DbHelper.cs:行号 345 在 NetCMS.DALProfile.DbHelper.ExecuteReader(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\qqq\NetCMS.DALProfile\DbHelper.cs:行号 81 在 NetCMS.DALProfile.DbHelper.ExecuteReader(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\qqq\NetCMS.DALProfile\DbHelper.cs:行号 61 在 NetCMS.DALSQLServer.Model.getClassList(Int32 ClassID, Int32 ChID) 位置 D:\qqq\NetCMS.DALSQLServer\Channel.cs:行号 740 在 NetCMS.Content.Channel.getClassList(Int32 ClassID, Int32 ChID) 位置 D:\qqq\NetCMS.Content\Channel.cs:行号 291 在 manage_channel_Content_add.GetClassList(DropDownList lst, Int32 ParentID, Int32 Layer, Int32 gID) 位置 D:\qqq\NetCMS.Web\manage\channel\Content_add.aspx.cs:行号 452 在 manage_channel_Content_add.GetClassList(DropDownList lst, Int32 ParentID, Int32 Layer, Int32 gID) 位置 D:\qqq\NetCMS.Web\manage\channel\Content_add.aspx.cs:行号 470 在 manage_channel_Content_add.GetClassList(DropDownList lst, Int32 ParentID, Int32 Layer, Int32 gID) 位置 D:\qqq\NetCMS.Web\manage\channel\Content_add.aspx.cs:行号 470 在 manage_channel_Content_add.Page_Load(Object sender, EventArgs e) 位置 D:\qqq\NetCMS.Web\manage\channel\Content_add.aspx.cs:行号 136 在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.EventHandler.Invoke(Object sender, EventArgs e) 在 System.Web.UI.Control.OnLoad(EventArgs e) 在 System.Web.UI.Control.LoadRecursive() 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
最后编辑586 最后编辑于 2008-06-02 13:00:09

TOP

 

回复:栏目分类过多出现死循环

....看看..先收录.

桑田浪起,
沧海尘飞。
回忆留在原地,
生活还要继续。

TOP

 

回复:[0509][后台]频道里的栏目分类过多出现死循环

改问题本人已经解决,解决方法见:http://bbs.aspxcms.com/showtopic-845.aspx

TOP

 
1/1页1 跳转到
发表新主题 回复该主题