Resolving HTTP 500 errors when deploying to AppHarbor

Published on Friday, July 22, 2011

This is a quick post. I was getting HTTP 500 errors when deploying my new site to AppHarbor. Long story short, if you've brought down the DotNetAuth Nuget package, it adds this to your web.config:

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

AppHarbor already has this defined and it is throwing a duplicate web.config section exception. Remove this line and you should be A-OK!

About Kamran
I'm a technologist, speaker, and Pluralsight author and I specialize in building full-stack solutions with a focus on modern web technology and cloud native architecture.
comments powered by Disqus
comments powered by Disqus