Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Ad Rotator Error when using link parameters

Ad Rotator Error when using link parameters

Scheduled Pinned Locked Moved ASP.NET
questionhelp
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Albert83
    wrote on last edited by
    #1

    Hi and thanks for your interest. I am trying to use an ad rotator and as soon as I use parameters in the link it shows an error. If I remove the parameters it works. How can I use parameters in the link? Thank you. http://www.flamingo.ru/bannerad/showban.asp?action=show&campaign=12345 http://www.flamingo.ru/bannerad/showban.asp?action=redir&campaign=12345 50

    V 1 Reply Last reply
    0
    • A Albert83

      Hi and thanks for your interest. I am trying to use an ad rotator and as soon as I use parameters in the link it shows an error. If I remove the parameters it works. How can I use parameters in the link? Thank you. http://www.flamingo.ru/bannerad/showban.asp?action=show&campaign=12345 http://www.flamingo.ru/bannerad/showban.asp?action=redir&campaign=12345 50

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      You might be using this in an incorrect way. i always use XML as my Datasource and my XML loks like this

      < Advertisements >
      < Ad >
      < imageUrl >~/images/home/Banner_1.gif< /imageUrl>
      < NavigateUrl >http://www.VuyiswaMaseko.com< /NavigateUrl >
      < AlternateText > Alternate Text goes here< /AlternateText >
      < Impressions>50
      < Keyword > My Banner
      < /Ad >
      < /Advertisements >

      Now from the above you can find out what you did wrong, because that is how its Supposed to be.

      Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

      A 1 Reply Last reply
      0
      • V Vimalsoft Pty Ltd

        You might be using this in an incorrect way. i always use XML as my Datasource and my XML loks like this

        < Advertisements >
        < Ad >
        < imageUrl >~/images/home/Banner_1.gif< /imageUrl>
        < NavigateUrl >http://www.VuyiswaMaseko.com< /NavigateUrl >
        < AlternateText > Alternate Text goes here< /AlternateText >
        < Impressions>50
        < Keyword > My Banner
        < /Ad >
        < /Advertisements >

        Now from the above you can find out what you did wrong, because that is how its Supposed to be.

        Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

        A Offline
        A Offline
        Albert83
        wrote on last edited by
        #3

        the way you use it works fine. if you add a querystring parameters it stops working.

        V 1 Reply Last reply
        0
        • A Albert83

          the way you use it works fine. if you add a querystring parameters it stops working.

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          Can you post on how you use it ?

          Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

          A 1 Reply Last reply
          0
          • V Vimalsoft Pty Ltd

            Can you post on how you use it ?

            Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

            A Offline
            A Offline
            Albert83
            wrote on last edited by
            #5

            I posted, in the question...there is a query string parameter there.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups