EditAds not working compile error

Last post 10-14-2009 1:09 PM by redwoodbev. 0 replies.

Sort Posts:

  • EditAds not working compile error

    10-14-2009, 1:09 PM
    • Member
      15 point Member
    • redwoodbev
    • Member since 09-24-2008, 1:37 PM
    • Posts 89

     Hi,  I'm suddenly getting this error on EditAds.aspx.vb  From what I see in other forums I thought I might have declared something twice, but my EditAd.aspx.vb code matches the original for the kit, so I'm stumped.  Has anyone else come across this sort of error and maybe could point me in the right direction?  Thanks, Bev

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: BC30554: 'LocationDropDown_ascx' is ambiguous.

    Source Error:

    Line 122:
    Line 123:	Protected Sub ValidLocationRequired_ServerValidate(ByVal [source] As Object, ByVal args As ServerValidateEventArgs)
    Line 124:		Dim LocationDropDown As LocationDropDown_ascx = CType(AdFormView.FindControl("LocationDropDown"), LocationDropDown_ascx)
    Line 125:		args.IsValid = Not (LocationDropDown Is Nothing) AndAlso Not LocationDropDown.CurrentLocation.Equals(String.Empty)
    Line 126:	End Sub

    Source File: d:\hosting\rporter\ditAd.aspx.vb    Line: 124

Page 1 of 1 (1 items)