Server Error in '/' Application. -------------------------------------------------------------------------------- Cannot insert duplicate key row in object 'dbo.Topic' with unique index 'UIX_Topic_Name'. The statement has been terminated. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.Topic' with unique index 'UIX_Topic_Name'. The statement has been terminated. Source Error: Line 444: } Line 445: sql.Append(")"); Line 446: DB.ExecuteSQL(sql.ToString()); Line 447: Line 448: resetError("Topic added.", false); Source File: c:\HostingSpaces\homexis\homexis.com\wwwroot\web\Admin\topics.aspx.cs Line: 446 Stack Trace: [SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.Topic' with unique index 'UIX_Topic_Name'. The statement has been terminated.] AspDotNetStorefrontCommon.DB.ExecuteSQL(String Sql) in C:\ASPDNSF\Builds\ML7100CSharp\ASPDNSFCommon\StringResource.cs:323 topics.updateTopic() in c:\HostingSpaces\homexis\homexis.com\wwwroot\web\Admin\topics.aspx.cs:446 topics.btnSubmit_Click(Object sender, EventArgs e) in c:\HostingSpaces\homexis\homexis.com\wwwroot\web\Admin\topics.aspx.cs:358 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016