I'm very new to Umbraco but familiar with MVC based systems. One of our clients have a small issue, seems that a form when submitted returns a 404 not found error on submit and I have noted it posts to a surface controller.
We have CMS access but not source code access, so wondering if one can view the source code / edit controllers from within the CMS?
Thank you, is there a way for me to view App_Code from within the CMS? Sorry im not familiar with the CMS at all enough. I played around but as the site is in production, I would rather get concrete answers than fiddle and break something
I have a MVC controller inside my .NET project which is a little bit modified version of standard MVC controller since I'm using the Episerver CMS. The code for controller is as following:
public class StartPageController : PageController
return View(currentPage);
}
}
And now when I try to access the view via controller like following:
http://localhost:port/TestPage
This should (with the regular MVC controller) return the Index.cshtml view that I created, but it doesn't ... The error that I'm getting is:
Access controllers via the CMS
Hello,
I'm very new to Umbraco but familiar with MVC based systems. One of our clients have a small issue, seems that a form when submitted returns a 404 not found error on submit and I have noted it posts to a surface controller.
We have CMS access but not source code access, so wondering if one can view the source code / edit controllers from within the CMS?
Hi
If the controller is compiled in the dll, then you have to decompile dll with some tool like ILSpy
Possible that controller is in App_Code folder - check if it's there
Thanks,
Alex
Thank you, is there a way for me to view App_Code from within the CMS? Sorry im not familiar with the CMS at all enough. I played around but as the site is in production, I would rather get concrete answers than fiddle and break something
I would download the site and a backup of the database if you can. That way you can have a dig around without upsetting the production site.
I have a MVC controller inside my .NET project which is a little bit modified version of standard MVC controller since I'm using the Episerver CMS. The code for controller is as following:
public class StartPageController : PageController
And now when I try to access the view via controller like following:
http://localhost:port/TestPage This should (with the regular MVC controller) return the Index.cshtml view that I created, but it doesn't ... The error that I'm getting is:
is working on a reply...