Need Help with my rss feed

Discussion in 'XML & RSS' started by mjliscio, Aug 23, 2007.

  1. #1
    Hello All,

    I am creating an ashx Handler so that I can connect to a sql database and pull information from the database, and then use the feed that is created with another program that I am currently developing To set up my ashx handler I am using vb.net. my problem is that I keep getting an error message whenever I go and try to test out my ashx handler by running it in a web browser

    The error message I get is as follows

    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


    --------------------------------------------------------------------------------

    A string literal was expected, but no opening quote character was found. Error processing resource 'http://localhost/rss.as...

    <?xml version=\ 1.0\encoding=\UTF-8\?><rss version=\ 2.0\><channel><Identity>Place Identity</Iden...


    the first few lines of code for this ashx handler is

    Dim buildString As New System.Text.StringBuilder
    buildString.Append("<?xml version=\" + " 1.0\" + "encoding=\" + "UTF-8\?>")buildString.Append("<rss version=\" + " 2.0\" + "><channel>")

    Can someone explain to me what I am doing wrong here
    Thanks Mike
     
    mjliscio, Aug 23, 2007 IP
  2. mjliscio

    mjliscio Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have figured this one out.

    Thanks
     
    mjliscio, Aug 28, 2007 IP