Archived Support Site

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

Deployment basics

townie's Avatar

townie

20 Apr, 2011 05:43 AM

I just deployed an application (by which I mean it got "built").

Its an ASP.NET MVC3 application. In VS 2010 it just works.

Now where do I go from here. I am getting a bunch of errors when I try to navigate to a relevant page:

I am reading the KB articles, but I don't find anything. How do I begin to debug?

=========== Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->
<system.web>
    <customErrors mode="Off"/>
</system.web>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
  1. Support Staff 1 Posted by friism on 20 Apr, 2011 06:06 AM

    friism's Avatar

    If you add this to you web.config, AppHarbor will display the full YSOD with stacktrace etc.:

    <system.web>
        <customErrors mode="Off"/>
    </system.web>
    
  2. friism closed this discussion on 20 Apr, 2011 06:06 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