Archived Support Site

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

500 - Internal server error on default Mono ASP.NET MVC project

chrisntr's Avatar

chrisntr

12 Mar, 2011 08:38 PM

Hi Guys,

I just pushed up a default Mono ASP.NET MVC project and I'm hitting a 500 - Internal server error and nothing else (the build succeeds). I'm probably doing something wrong but it'd be neat to get at least the default Mono MVC project working.

Any ideas, I can add you guys as collaborators so you can check it out.

ChrisNTR

  1. Support Staff 1 Posted by rune on 12 Mar, 2011 09:59 PM

    rune's Avatar

    Hi,

    If it's the default setup I think adding the targetFramework="4.0" attribute to your web.config might solve the issue (http://support.appharbor.com/discussions/problems/157-net-version).

    Let me know if this doesn't help.

    Best regards,
    Rune

  2. rune closed this discussion on 12 Mar, 2011 09:59 PM.

  3. chrisntr re-opened this discussion on 12 Mar, 2011 10:14 PM

  4. 2 Posted by chrisntr on 12 Mar, 2011 10:14 PM

    chrisntr's Avatar

    I'm still hitting the same issue even with that change - not only does it not work, it looks like Mono doesn't support that new attribute either (see image).

    Is there another way to debug this?

    Cheers,

    ChrisNTR

  5. Support Staff 3 Posted by rune on 13 Mar, 2011 02:30 AM

    rune's Avatar

    Hmm, did you add the attribute to the element under system.web in your web.config? Seems like the error occurs on the first line suggesting it may be displaced.

    The best way to debug it would be to run it from a local IIS if you have one available.

    If that fails you can try and add us as collaborator with this email [email blocked]

  6. rune closed this discussion on 13 Mar, 2011 02:30 AM.

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