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

ad rotator component is showing error that the xml file is invalid

can any one help me, i have created the advertisement file in xml and set the property of the advertisement file to the xml file. but when i run i find that it says the xml file is not found or invalid.
the code of my ad file is as follows:
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <advertisements>
  3. <ad>
  4. <imageUrl>resume.jpg</imageUrl>
  5. <impressions>50</impressions>
  6. <keyword>resume builder</keyword>
  7. </ad>
  8.   <ad>
  9.     <imageUrl>paint.jpg</imageUrl>
  10.     <impressions>50</impressions>
  11.     <keyword>resume builder</keyword>
  12.   </ad>
  13. </advertisements>
Aug 6 '10 #1
0 967

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

Similar topics

0
by: abbie10 | last post by:
Hi, I am unable to add a non 3rd party custom component(an OGX file) to my MFC app in vc++.net. In vc6.0,it was done using Project->Add to project->Components and Controls. But i don't find that...
0
by: Michael D. Reed | last post by:
I have a C++ program that I am trying to get to compile and link in VS2003. It is an old windows program that was built and maintained with older versions of VS and VC++. I made the necessary...
3
by: JerryW | last post by:
I uninstalled/reinstalled .NET 2003 with no errors. When I try to create a Visual C# ASP.NET Web Application I get the error: "The Web server reported the following error when attempting to...
4
by: | last post by:
I have used my first aspx page on our site to utitlize the Ad Rotator component. However, I note that my traditional asp 3.0 code generations compilation errros (eg Let and Set not allowed in...
5
by: Petr Jakes | last post by:
On my box (Fedora Core4, Python 2.4.1) I am getting following error: >>> import termios, sys >>> fd = sys.stdin.fileno() >>> oldSettings = termios.tcgetattr(fd) Traceback (innermost last): File...
5
by: chrisstankevitz | last post by:
Hi, Q1: Is there a way to make a template function that works only for specific types which produces a compiler error if used with an invalid type? Q2: If not, how do people deal with this...
1
by: hough747 | last post by:
I am an Access newbie and know nothing of database design. A Coder the Database in MS 2003 (XP) Access. When i am looking at the Main Spreadsheet and click on a form, everything works fine on the...
2
by: haneeshkb | last post by:
when I am trying to build my vc++ project ,it is giving an error like "libsybdb.lib : fatal error LNK1136: invalid or corrupt file" Can anybody help me in this problem please '
0
by: minhtran | last post by:
Hi all Please, I am a new ASP.NET, I upload an Excel File in the database, but I have an error as "Invalid Signature" . Please, anyone has a knowledge how to solve this problem and share with me , I...
1
by: nRk | last post by:
Hi, I am working on asp.net 2.0 with Visual Studio 2005. My asp.net project contains one Masterpage. I exposed my asp.net project in my machine (Windows XP with IIS 5.1) and access using...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.