Your / aspx / ascx view should be located inside one of the folders you listed, such as the code in your controller.
If you just do this:
return RedirectToAction("AdvCreated");
ASP.NET MVC will assume that you have view / ascx / aspx located in your controller’s folder - in your case ~ / Views / Advertisement / folder or a shared folder.
If you have a specific view to display outside the intended folders, you can specify this directly, for example:
return RedirectToAction("~/MyFolder/AdvCreated.ascx");
source share