473,395 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Is 2.0 AdRotator Stable?

After months of stable operation the AdRotator has become unstable. Maybe
its the Themes or the MasterPage who knows?

The AdRotator is showing the images from Theme 1 when Theme 2 is selected
and loaded.

I have a very simple implementation...

// Declared in MasterPage
<div id="LogoCubes">
<asp:AdRotator ID="HeaderLogoRotator"
ToolTip="Load the Homepage" runat="server" />
</div>

// Theme 1
<Advertisements>
<Ad>
<ImageUrl>Images/smoke_3Cubes74x74.gif</ImageUrl>
<NavigateUrl>~/HomePage.aspx</NavigateUrl>
<AlternateText>Load HomePage</AlternateText>
<Keyword>HomePage</Keyword>
<Impressions>2</Impressions>
</Ad>
<Ad>
<ImageUrl>Images/smoke_Computer74x74.gif</ImageUrl>
<NavigateUrl>~/HomePage.aspx</NavigateUrl>
<AlternateText>Load HomePage</AlternateText>
<Keyword>HomePage</Keyword>
<Impressions>1</Impressions>
</Ad>
</Advertisements>

// Theme 2
<Advertisements>
<Ad>
<ImageUrl>Images/autumn_Leaves74x74.gif</ImageUrl>
<NavigateUrl>~/HomePage.aspx</NavigateUrl>
<AlternateText>Load HomePage</AlternateText>
<Keyword>HomePage</Keyword>
<Impressions>1</Impressions>
</Ad>
<Ad>
<ImageUrl>Images/autumn_3Cubes74x74.gif</ImageUrl>
<NavigateUrl>~/HomePage.aspx</NavigateUrl>
<AlternateText>Load HomePage</AlternateText>
<Keyword>HomePage</Keyword>
<Impressions>1</Impressions>
</Ad>
</Advertisements>

I've tried deleting the resources from ASP.NET Temporary Files and
rebuilding but the images from Theme 1 are still displayed when Theme 2 is
loaded.

Nothing has changed with Themes or the MasterPage.

I have changed the code used to persist the selected Theme using a cookie
and the Profile but I don't see the connection with the images managed by
the AdRotator? Do you?

<%= Clinton Gallagher
Mar 27 '06 #1
1 1472
<snip />
Resolved. Unstable User :-)
Forgot to change the name of a cookie in code used to determine which
AdvertisementFile to load.

<%= Clinton Gallagher
Mar 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: kdmath | last post by:
I want to use the AdRotator control to dispay pay per click ads in the banner. I am able to use the AdRotator control for other links but when I use the code that the pay per click ads say to...
10
by: Apostolis K. | last post by:
I include an AdRotator component but the component doesn't rotate the ads _index.asp_ <% Set objAd=Server.CreateObject("MSWC.AdRotator") vAdRotation=objAd.GetAdvertisement("ads.txt") ...
5
by: Erica | last post by:
My images in Adrotator are not displaying. The ALT tag only displays. My text file looks like this: redirect redirect.asp border 0 height 115 width 215 * /images/awards.swf...
0
by: Erica | last post by:
Hopefully someone can offer me a workaround to this problem: I am using adRotator to rotate some reminders on my intranet site. I have a redirect page name redirect.asp that recieves the...
0
by: Kiran R | last post by:
Hi, Is there any way to show different advertisements(images) in a certain interval of time using AdRotator. I am able to display different images when the page get refreshed using AdRotator....
5
by: Dan | last post by:
Hi, I created an AdRotator control with this code: <asp:AdRotator id="AdRotator1" Runat="Server" AdvertisementFile="adrotator.xml"> </asp:AdRotator> The xml file contains: <Advertisements>...
7
by: Aussie Rules | last post by:
Hi, I have a adrotator control on a page, and want to program the connection of the control via SQL. I have the following code which doesn't seem to do much, and not sure what else to do? ...
1
by: Aussie Rules | last post by:
Hi, I have a few adrotators on a page, each bound to a sql dataset from my database The function works fine, but as we are going to charge for the advertising impression and click throughs I...
0
by: MC | last post by:
I have coded an AdRotator to use a Database for it's data source. If I use a SqlDataSource control it functions as expected, however if I manually retreive the data using an OleDBDataReader It...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.