Server Error in '/' Application.

URL Already exists, please choose another URL

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.Exception: URL Already exists, please choose another URL

Source Error:


Line 95:                 )
Line 96:             Else
Line 97:                 Throw New Exception("URL Already exists, please choose another URL")
Line 98:             End If
Line 99:         End Function

Source File: C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Business\URL.vb    Line: 97

Stack Trace:


[Exception: URL Already exists, please choose another URL]
   Business.URLController.RegisterURL(OleDbConnection conn, OleDbTransaction trans, Int32 menuId, String menuURL, Int32 parentMenuId, String parentMenuURL, Int32 contentId, String contentURL) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Business\URL.vb:97
   Business.URLController.GetURL(Int32 menuId, Int32 contentId, OleDbConnection conn, OleDbTransaction trans) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Business\URL.vb:182
   Utils.Helper.FormURLByLanguage(OleDbConnection conn, Int32 langId, Int32 menuId, Int32 contentId, Int32 albumId) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Utils\Helper.vb:159
   Utils.Helper.FormURL(OleDbConnection conn, Int32 MenuId, Int32 ContentId, Int32 albumId) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Utils\Helper.vb:148
   Business.URLController.GetURL(String url, OleDbConnection conn, OleDbTransaction trans) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Business\URL.vb:200
   FrontControlBaseClass.get_ContentID() in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\App_Code\Base\FrontControlBaseClass.vb:97
   UserControls_Layout_MetaTags.GetKeywords() in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\UserControls\Layout\MetaTags.ascx.vb:15
   ASP.PortalMetaTags.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Inetpub\vhosts\badrco.com.lb\httpdocs\UserControls\Layout\MetaTags.ascx:5
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +21
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0