Archived Support Site

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

Solution builds but 500 error

ajcool123's Avatar

ajcool123

17 Mar, 2011 05:11 PM

I am using the library DotnNetOpenAuth ( http://www.dotnetopenauth.net/ ) on an extremely simple ASP.NET MVC website.

Everything works great locally, and when I build and push to AppHarbor it complies successfully. However when I view the page I get an internal 500 error.

http://ajoath.apphb.com/

Thoughts?

  1. Support Staff 1 Posted by rune on 18 Mar, 2011 04:32 AM

    rune's Avatar

    Hi Andrew,

    Seems like an error in your web.config - "There is a duplicate 'uri' section defined". Let me know if fixing that doesn't help.

    Thanks,
    Rune

  2. rune closed this discussion on 18 Mar, 2011 04:32 AM.

  3. ajcool123 re-opened this discussion on 18 Mar, 2011 05:09 PM

  4. 2 Posted by ajcool123 on 18 Mar, 2011 05:09 PM

    ajcool123's Avatar

    Hi Rune,

    Thanks for the response. Unfortunately I am only seeing one URI section in the web config. Trying to figure out where you see multiple? Maybe I am just missing it but I don' t see it. Please let me know!

    Thanks,

    Andrew

    -----Original Message-----
    From: Rune Sørensen [mailto:[email blocked]]
    Sent: Friday, March 18, 2011 12:32 AM
    To: [email blocked]
    Subject: Re: Solution builds but 500 error [Support]

  5. Support Staff 3 Posted by rune on 18 Mar, 2011 05:24 PM

    rune's Avatar

    Uhm, it happens due to this line :

    <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    

    Removing that resolves the 500 issue. You don't get this error in your local IIS?

    Best,
    Rune

  6. 4 Posted by ajcool123 on 18 Mar, 2011 07:08 PM

    ajcool123's Avatar

    Rune,

    So silly of me thanks for the help that got it! Rocking and rolling now!!

    :)

    Andrew

    -----Original Message-----
    From: Rune Sørensen [mailto:[email blocked]]
    Sent: Friday, March 18, 2011 1:27 PM
    To: [email blocked]
    Subject: Re: Solution builds but 500 error [Support]

  7. friism closed this discussion on 18 Mar, 2011 07:20 PM.

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