resource not found error in mvc Loachapoka Alabama

Computer Paramedics provides "On-Site Service For Your Computer Emergency!"

Address 2216 Executive Park Dr, Opelika, AL 36801
Phone (334) 559-0595
Website Link http://www.computerparamedics.com
Hours

resource not found error in mvc Loachapoka, Alabama

define set of sets Anti-static wrist strap around your wrist or around your ankle? Else, you need to move that view from the Documents View folder into the DocumentUpload view folder (the empty one in your screenshot). The default route points to Index method HomeController. Does bitcoin have the potential to be subject to a hard fork where miners are forced to choose which fork they will accept, like Etherum?

share|improve this answer answered May 18 at 8:06 AxleWack 132110 add a comment| up vote 0 down vote Unbelievably, I'd accidentally deleted the public keyword from the controller! Global.asax file: using System.Web.Mvc; using System.Web.Routing; namespace TEST { public class MvcApplication : System.Web.HttpApplication { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); Mark as Answer if it is helpful. Sign in to report inappropriate content.

Since I do not want to add unit testing in the project and MVC application was giving an error to me. Please review the following URL and make sure that it is spelled correctly. So, how do I access the "About" page? share|improve this answer answered Aug 26 at 14:12 Andy Brown 2,19331223 add a comment| up vote -1 down vote Solved the problem by right clicking on the view I wanted as

Then go to Web tab and see if virtual path is set or not. share|improve this answer edited Jul 28 '15 at 10:12 Mel 2,83551224 answered Jul 28 '15 at 9:52 Neo 213 add a comment| up vote 1 down vote Well you cannot set Just open an server-side file and start project. Where is the url mapping done?

Sign in 7 9 Don't like this video? This solution worked."Go to the Project properties page of the Web project and select the Web tab. The resource cannot be found. That will solve the problem share|improve this answer answered Dec 29 '15 at 14:17 Jabulani Vilakazi 92 add a comment| Your Answer draft saved draft discarded Sign up or log

Not the answer you're looking for? Solution 3 Accept Solution Reject Solution Edit area registration route config (work around): public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( "Comment_default", "Comment/PostMsg", new { controller = "Comment", action = "PostMsg", id = UrlParameter.Optional or else you can use existing view of controller. Generating a sequence of type T at compile time Are voltage and current sources linear or nonlinear?

In your demo, you add specific url which have different name with your controller and don't create any conflict areas name. And, more importantly, my impression of adding Areas in an MVC project by right-clicking and "add | area" was that this wireup was all done behind the scenes. kavi , July 16, 2012 at 10:35 Excellent! Are voltage and current sources linear or nonlinear? しっているはずです is over complicated?

In the Home controller, I do have this: public class HomeController : Controller { public ActionResult Index() { ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; return View(); Sign in Statistics 21,949 views 6 Like this video? WITHOUT stopping the project, modify the browser address to http://localhost:61814/MySite/Home/About ( in the hope that in HomeController you have an About action) 4. So the question is why when I copy/paste the conrollers/models/views from another project (created in VS2012) those views give the above error even though manually creating a controller and corresponding views

To "fix" your project now that it's trying (and failing) to navigate to the view directly, right click the project and choose "Properties", click the "Web" tab and choose "Specific Page", and here is a link that works: @Html.ActionLink("Edit Questions", "ChangeQuestions", new { controller = "Account", area = "UserAccount" }, new { @class = "btn btn-info" }) Both of these links are Please review the following URL and make sure that it is spelled correctly. share|improve this answer answered Aug 9 '14 at 2:06 user1325696 6019 add a comment| up vote 0 down vote in the address bar on browser input like this: ControllerName/ActionMethod not input

As Avinash states you need the NewFolderController but also a NewPage action, if you return a non-named view this will default to your NewPage view. Read some MVC tutorial to get better concepts. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. But when I navigate to the MVC views, I get the following error The resource cannot be found localhost:1234/AreaName/Home/Index.

Read some MVC tutorials from http://www.asp.net/mvc I just watched this MVC tutorial by Pluralsight, Here's what it showed on this video tutorial that it works. Open VS with project you're working & rebuild. asked 1 year ago viewed 661 times active 1 year ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Related 5Asp.NET MVC 2 Preview 2: Area's aspx namespace So, what's the difference between pressing F5 from within VS2012 and accessing through my local web server?

What happens if the same field name is used in two separate inherited data templates? Okay, so I tried the same thing on mine: http://localhost/MySite/index And I got this: Server Error in '/MySite' Application. What is the meaning of the 90/10 rule of program optimization? If I typed "Home" it will not work and vice versa with IIS Express localhost:61814 that runs when pressing F5 from VS2012.

I have the Home controller and Index action method and Index.cshtml. If you need to reference BlankTestPage.cshtml from multiple controllers, place it in the Shared folder. All web requests should pass through controller actions, you can't request views directly. more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

So long story short , Your base url is http://localhost/MySite. Alphabet Diamond How to leave a job for ethical/moral issues without explaining details to a potential employer New employee has offensive Slack handle due to language barrier Why did the Ministry Does Anna know what a ball is? The RegisterArea() method has zero references according to Visual Studio.