“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
另一个 SqlParameterCollection 已包含带有 ParameterName“@EntryID”的 SqlParameter。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.ArgumentException: 另一个 SqlParameterCollection 已包含带有 ParameterName“@EntryID”的 SqlParameter。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[ArgumentException: 另一个 SqlParameterCollection 已包含带有 ParameterName“@EntryID”的 SqlParameter。]
System.Data.SqlClient.SqlParameterCollection.Validate(Int32 index, SqlParameter value) +294
System.Data.SqlClient.SqlParameterCollection.AddWithoutEvents(SqlParameter value) +19
System.Data.SqlClient.SqlParameterCollection.Add(SqlParameter value) +23
Dottext.Framework.Data.SqlHelper.AttachParameters(SqlCommand command, SqlParameter[] commandParameters) +91
Dottext.Framework.Data.SqlHelper.PrepareCommand(SqlCommand command, SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters) +107
Dottext.Framework.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) +49
Dottext.Framework.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +91
Dottext.Framework.Data.SqlDataProvider.GetEntry(Int32 EntryID, String EntryName, PostConfig config, Boolean IncludeCategories) +46
Dottext.Framework.Data.DataDTOProvider.GetEntry(Int32 EntryID, String EntryName, PostConfig config) +51
Dottext.Framework.Entries.GetEntry(Int32 EntryID, PostConfig config) +26
Dottext.Common.Data.Cacher.SingleEntry(Int32 EntryID, CacheTime ct, HttpContext context) +175
Dottext.Common.Data.Cacher.GetEntryFromRequest(HttpContext context, CacheTime ct) +72
Dottext.Web.UI.Controls.ViewPost.OnLoad(EventArgs e) +45
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +750
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
工作就是生活,
生活就是工作!
[br]

