Fine Locally But HTTP400 Error On Server

Discussion in 'ASP / ASP.net' started by boomers, May 11, 2009.

  1. boomers CSNM Customer

    Hi guys...

    Im in the middle of making another website, and im trying out making a xml sitemap on the fly. Locally it seems to work fine... I can view the file in my browser perfectly but when I upload the site I get a 'HTTP 400 (Bad Request)' error.

    The page im having problems with is www.compufolk.com/sitemap.aspx
    It *should* (and does on my PC) look like the following:
    Code:
    [SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]<?xml version=""1.0"" encoding=""UTF-8""?>[/COLOR][/SIZE]
    [/COLOR][/SIZE][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">[/COLOR][/SIZE]
    [SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]<url>[/COLOR][/SIZE]
    [/COLOR][/SIZE][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]<loc>http://www.compufolk.com/wii-cheats/marvel-ultimate-alliance-1043.aspx[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]</loc>[/COLOR][/SIZE][/COLOR][/SIZE]
    [SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]</url>[/COLOR][/SIZE][/COLOR][/SIZE]
    [SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]</urlset>
    [/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE]
    ... but obviously with many more links in it...

    - If anyone has come across this before I'd appreciate the help :)
  2. Ben Collier CSNM Customer


    Seems to work now- assuming you got it fixed!
  3. siphilp CSNM Customer

  4. boomers CSNM Customer

    That's really wierd, Ive changed nothing but like you guys its working on my PC now too :unsure:

    - Either way appreciate taking the time to look and also replying fellas.

Share This Page