Ever since I downloaded the code to get the banners, strange errors keep coming up:
I delete
<%@ Register Src="~/Controls/ContactForm.ascx" TagPrefix="Wrox" TagName="ContactForm" %>" and "
<Wrox:ContactForm runat="server" ID="ContactForm" />" from
Contact.aspx and it keeps coming back.
I delete "
<Wrox:Banner ID="Banner2" runat="server" DisplayDirection="Horizontal" />" from
AboutUs.aspx and it keeps coming back
The element <uc1:Banner ID="Banner1" runat="server" /> in Frontend.master keeps changing to <Wrox:Banner ID="Banner1" runat="server" DisplayDirection="Vertical" /> and the @ Register element keeps disapearing
I delete "
Banner2.NavigateUrl = "http://imar.spaanjaars.com";" from
AboutUs.aspx.cs and it keeps coming back
I get a compile error:
The type or namespace name 'Direction' could not be found (are you missing a using directive or an assembly reference?)
that leads to a bunch of code in Banner.aspx.cs that I subsequently delete and the code keeps coming back.
Then I get a web.config error:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. and lo and behold my web.config.configuration has 30 to 40 lines of code that I delete, and it keeps coming back.
I performed the exact same steps in C# that I did in
VB.
VB works fine, C# keeps throwing compile errors that have me going around in circles. It's as if there's some weird Wrox virus.
Help!