Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I created the form following the tutorial available on this link (documentation):
Creating HTMl forms
But when I click the submit button I get this HTTP 404 error:
The resource cannot be found.Requested URL: /umbraco/RenderMvc
The code is pretty much the same as the demo and the form is a partial view which is inserted in the page using "Html.Partial(_ContactForm)"
I forgot to mention, I'm using 4.11.1 (sry but the forum won't allow me to edit the post it returns, some XSL error message :-)
Found the issue, was related to name convention.Controller was named "ContactFormSurfaceController" and I was calling "ContactForm", when I should be calling "ContactFormSurface"
Same error, Can you suggest how to solve this error.
Hi Pratham and welcome to our :)
Same code? Otherwise please share - The same error is not necessarily the result of the exact same issue. Otherwise I would assume that the post marked as the solution would be the same thing that you need to change in your code?
We are facing same error on our live environment. Strange part is, we are getting this error randomly. Most of time form gets submitted properly, but sometimes this error occurs. Can you please help.
Current Umbraco Version : 7.1.4Web.config has following changes.umbracoPath : ~/abcdumbracoReservedPaths : ~/abcdChanging this Umbraco path can be the issue??
I do have the same issue in Umbraco 7.2.4.
Clean install using one of the 3 default templates!
Kind of funny because the templates try to promote Umbraco Forms:)
Does anyone have any ideas as to what might be causing this 'random' issue ? The majority of the time posts to surface controllers all work fine, but occasionally it YSODs with: "There is not current PublishedContentRequest, it must be initialized before the RenderRouteHandler executes", with the url: '/umbraco/RenderMvc' in the browser.
I'm guessing that the hidden 'ufprt' value is unable to be processed for some reason ?
(this is with Umbraco v7.3.4)
I'm seeing this when using the default 'out of the box' Umbraco Logout form.
Did any one figure out a solution? (v7.6.3)
I'm going to upgrade and see if it goes away!
Has anyone else had any luck with this. I am trying to make a two step form following this tutorial: https://umbraco.com/blog/creating-multi-step-forms-using-a-surfacecontroller/
Every time I hit next umbraco looks for /umbraco/RenderMvc as the path.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted