473,388 Members | 1,198 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,388 software developers and data experts.

.NET Adrotator

Hi,

I am using MS Adrotator to show random adverts on my site. It simply reads an XML file with a standard template as shown below. (This works correctly as expected)

<Ad>
<ImageUrl>~/images/ads/ad_Amazon_Generic.gif</ImageUrl>
<NavigateUrl>http://www.amazon.com</NavigateUrl>
<AlternateText>Shopping at Amazon.com</AlternateText>
<Impressions>20</Impressions>
</Ad>

you supposedly insert the image url and the reference url as required.

Unfortunately, as an affiliate of certain companies I am supplied the html and, I cannot get the xml to parse the following code correctly. (the web site crashes)

http://click.linksynergy.com/fs-bin/click?id=swflsuG*zbY&offerid=123456700005&type=4&s ubid=0

for the Navigate url <NavigateUrl> <NavigateUrl>

[actual numbers were modified for security reason, but the structure remains the same] I tried delimiting the string literal with quotes " " to no avail. This example is typical of many of the html suppeld code I have.

I've spent a lot of time trying to figure this out but I am at a loss, can anyone help with this?

many thanks,

malcolm
Sep 15 '07 #1
3 1550
Dököll
2,364 Expert 2GB
I do not undertstand what you are trying to do. Can you explain it a bit?
Sep 16 '07 #2
jkmyoung
2,057 Expert 2GB
If the companies are supplying a blank NavigateURL node, <NavigateUrl> <NavigateUrl> how is anyone to link to the site? It doesn't make sense. Tell your affiliates that they are not sending the link correctly.
Sep 17 '07 #3
Shashi Sadasivan
1,435 Expert 1GB
Hi,
I am not sure if your problem has been resolved.
The problem seems due to the fact that you have special characters in your string. like &)

Have a look at this site , hope it helps you

Cheers
Sep 19 '07 #4

Sign in to post your reply or Sign up for a free account.

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....
1
by: clintonG | last post by:
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...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.