ASP Troubles

Discussion in 'Co-op Advertising Network' started by ProductivePC, Feb 1, 2005.

  1. #1
    Okay, what am I doing wrong here.

    These pages work like a charm
    http://www.worldfamousgiftbaskets.net/shopping/dp.asp
    and here http://www.worldfamousgiftbaskets.net/links2.asp

    however using the same code I cannot receive ads on any of my asp pages within the shopping cart such as:

    http://www.worldfamousgiftbaskets.net/shopping/shoperror.asp


    The shopping cart uses a .htm header and a .htm footer however when the page is rendered it is rendered as .asp so this should work.

    Above the <html> tags I have the
    <!-- #INCLUDE Virtual=/ad_network.asp -->
    <%ads = ad_network%>

    Then where I want the banner ads I have the
    <%=ads(0)%> - <%=ads(1)%><br>
    <%=ads(2)%> - <%=ads(3)%> - <%=ads(4)%><br>
    <% response.write("Testing")%>

    Any Ideas would be helpful

    I even tried a response.write and could not get it to show up.

    --------------------------------------------------------------------------
    Okay I changed the header and footer files to .asp instead of .htm and I immediately received the following error:

    Microsoft VBScript compilation error '800a03ea'
    Syntax error
    /shopping/ad_network.asp, line 4
    Function ad_network()
    ^

    Any Suggestions?
     
    ProductivePC, Feb 1, 2005 IP
  2. ProductivePC

    ProductivePC Peon

    Messages:
    362
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Okay, I got this running. I had to contact the original makers of the shopping cart in order to get it running. However I now have it running on my ASP pages as well as my HTM page and my PHP pages. Woo-Hoo
     
    ProductivePC, Feb 2, 2005 IP