I created a form and I am getting this error all the time when I running my application online on the web server:
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.
To work around this problem provisionally I have created a hybrid function with jQuery and PHP inside Umbraco and it is working perfectly, however, my boss wants everything to be with code behind.
Did you copy the compiled DLL from the bin folder of your project to your web server? The DLL should have the same name as your Umbraco Visual Studio project.
How to add MVC to an existing project?
Hi everyone,
Is possible add MVC to an existing Umbraco project?
Hi Leonardo
What version of Umbraco are you running ?
When saying "add MVC", what are you meaning ? ie a standard ASP.NET MVC setup, Umbraco "flavoured" MVC, etc.
More details would assist the community to provide feedback / thoughts.
Cheers, Nigel
I am running the 7.7.4.
I created a form and I am getting this error all the time when I running my application online on the web server:
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.
To work around this problem provisionally I have created a hybrid function with jQuery and PHP inside Umbraco and it is working perfectly, however, my boss wants everything to be with code behind.
I am calling my control like this:
I have inspected the umbracoSettings.config and I undestod that I am already using MVC:
<defaultRenderingEngine>Mvc</defaultRenderingEngine>
But I could understand for what reason on my local machine my Contact Form works and online on the server doesn't.
I thought that should be something about the MVC because when I installed the Umbraco I did not use the MVC model in the Visual Studio.
In the same way, I saw a forum explaining that I need to create a route file.
I am fresh with Umbraco and C#.NET.
May you help me with it?
Did you copy the compiled DLL from the bin folder of your project to your web server? The DLL should have the same name as your Umbraco Visual Studio project.
Joshua,
I did it today, and I got a huge error. Seriously this freaked me out.
What error did you get? If your local matches the webserver code it shouldn't be throwing any errors.
is working on a reply...