Copied to clipboard

Flag this post as spam?

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


  • Leonardo Moura 21 posts 90 karma points
    Dec 20, 2017 @ 14:17
    Leonardo Moura
    0

    Server Error in '/' Application.

    Hi everyone, I am new in Umbraco and C#, so, I am created a Contact Us Form and in my local machine working perfectly. I was exited about my progress and then I upload my project for my server and my headache started. I got a issue

    Server Error in '/' Application.
    No route in the route table matches the supplied values.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.InvalidOperationException: No route in the route table matches the supplied values.
    
    Source Error: 
    
    
    Line 85:                 else
    Line 86:                 {
    Line 87:                    Html.RenderAction("RenderForm", "ContactUsSurface");
    Line 88:                 }
    Line 89:             </div>
    

    Here I call my Form and my Controller:

               @if (TempData["ContactUsSuccess"] != null && 
                (bool)TempData["ContactUsSuccess"])
                {
                    <p>
                        You Rocked Leo!?
                    </p>
                }
                else
                {
                    Html.RenderAction("RenderForm", "ContactUsSurface");
                }
    

    Can you help me?

Please Sign in or register to post replies

Write your reply to:

Draft