I'm getting weird characters instead of blog posts

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Developer
Sep 20, 2009 at 9:00 AM

I can't see any blog post, instead of content I get really weird characters, you can see it here: http://www.jankoatwarpspeed.com/post/2009/09/17/sixpack-status-icons.aspx

Home page, pages sectins, contact me page and all other pages work fine, it's just posts that doesn't work. Net panel in Firebug reports HTTP 500 when I try to access any post.

Any ideas? Did anyone had such issue?

Developer
Sep 20, 2009 at 9:15 AM

Also, settings.aspx and profiles.aspx have the same error. Other admin pages work fine.

 

Coordinator
Sep 20, 2009 at 9:31 AM

I'm not seeing any errors or weird characters at that URL.

Garbage characters show up when an unhandled error occurs.  If you add the code I posted in this thread on April 23rd to your global.asax file in the root of your blog, you should get an actual error message, rather than the garbage characters.

Developer
Sep 20, 2009 at 9:46 AM


Thanks for the answer, I managed to find out the cause for this. BE couldn't read settings.xml for some reason, it seems as if the file was corrupted or something. God bless backups :)

Thanks again