Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Build succeeds, but visiting the site returnes "500 - Internal server error"

dotnetnerd's Avatar

dotnetnerd

21 Mar, 2011 08:03 PM

I commited my blog, which is based on blogengine. Everything seemed to go according to plan, and the overview says that the build succeeded. However when I visit the page at http://blog-15.apphb.com/ I just get a "500 - Internal server error". Any ideas?

  1. Support Staff 1 Posted by tt on 21 Mar, 2011 08:46 PM

    tt's Avatar

    We run the IIS application pool in integrated pipeline, which means IIS will complain if the system.web/httpHandlers and system.web/httpModules are defined. Use the system.webServer/handlers and system.webServer/modules instead.

  2. tt closed this discussion on 21 Mar, 2011 08:46 PM.

  3. dotnetnerd re-opened this discussion on 21 Mar, 2011 09:46 PM

  4. 2 Posted by dotnetnerd on 21 Mar, 2011 09:46 PM

    dotnetnerd's Avatar

    I tried moving the handlers and modules, but I still get the same error. Is there some way of looking in the logfile, so I have a chance of debugging it myself?

  5. Support Staff 3 Posted by friism on 21 Mar, 2011 09:53 PM

    friism's Avatar

    We're working on just such a feature, expect in a few days.

    The new error is `Unrecognized attribute 'validate'

    <handlers>
        <add verb="*" path="file.axd" type="BlogEngine.Core.Web.HttpHandlers.FileHandler, BlogEngine.Core" validate="false" />
        <add verb="*" path="image.axd" type="BlogEngine.Core.Web.HttpHandlers.ImageHandler, BlogEngine.Core" validate="false" />
    

    Usually developers can debug this themselves by setting customerrors=off, but in your case, the error is the web.config, so that doesn't work. As I said, we're going to expose errors to users within a couple of days.

  6. 4 Posted by dotnetnerd on 21 Mar, 2011 09:59 PM

    dotnetnerd's Avatar

    Ok, removed that as well... Can you see what else is the matter?

  7. Support Staff 5 Posted by friism on 21 Mar, 2011 10:24 PM

    friism's Avatar

    Yeah, Missing required attribute 'name',

    <handlers>
        <add verb="*" path="file.axd" type="BlogEngine.Core.Web.HttpHandlers.FileHandler, BlogEngine.Core" />
        <add verb="*" path="image.axd" type="BlogEngine.Core.Web.HttpHandlers.ImageHandler, BlogEngine.Core" />
    

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac