Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Styrmir 7 posts 80 karma points
    Aug 17, 2016 @ 18:37
    Styrmir
    0

    Custom controller code not called on shared host.

    Hi,

    I've created a custom contact form according to the following tutorial:

    https://our.umbraco.org/documentation/getting-started/Code/Creating-Forms/

    It works perfectly on my local development machine (I'm working from code in Visual Studio).

    But after I upload it to a shared host online the controller no longer gets called when the form is submitted. The page simply reloads and nothing happens.

    I tested this by breaking the controller code online, it caused no errors. Also added code to add entries to the error log, again worked locally not online.

    It seems the routing to standard .NET MVC controllers no longer works after being put on the shared host.

    Anyone have any ideas why this might be the case?

    Cheers, Styrmir.

Please Sign in or register to post replies

Write your reply to:

Draft