Click here to Skip to main content
15,042,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Microsoft Azure - I can provide more info if needed.

Any suggestions would be wonderful.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

What I have tried:

I am receiving this message when I try to link a new cshtml file. the /Account/Register and /Home/Index will work but not a new cshtml /Home/Test page. I keep getting this error.
Posted
Comments
ZurdoDev 28-Aug-20 14:11pm
   
You need a method in your controller.
JustHappy 28-Aug-20 14:32pm
   
Thank you so much for your reply.

Can you assist on how I do this?

ZurdoDev 28-Aug-20 14:58pm
   
The account controller has a Register method and the Home controller has an index method. You can look at those.
JustHappy 28-Aug-20 16:18pm
   
I appreciate your knowledge being shared.

Can you direct me to where I can find this?
ZurdoDev 28-Aug-20 16:21pm
   
You'll have a folder named controllers. But no, if you do not know anything at all about ASP.Net MVC then I suggest you hire someone who does. Or learn it on your own. It's too hard to try and teach it in this manner.
JustHappy 28-Aug-20 16:26pm
   
Thank you! I have someone that can look into it.

I appreciate your replies very much!
JustHappy 1-Sep-20 10:17am
   
Hi @ZuroDev where can I find the folder “controllers?”
ZurdoDev 1-Sep-20 10:42am
   
In the source code.
JustHappy 1-Sep-20 10:52am
   
I wanted to make sure we are on the same page. Here is what I am seeing.

https://www.dropbox.com/s/2tth0k60gapalfy/Screen%20Shot%202020-09-01%20at%2010.46.04%20AM.png?dl=0

I am trying to have set a href="" link in the index file to direct to the test.cshtml. But it doesn't work when I insert the href="Home/Test"
ZurdoDev 1-Sep-20 10:56am
   
I'm not sure how they did it. It's not standard. I'd suggest finding a developer that can come in and figure it out or getting a hold of whoever built it.
JustHappy 1-Sep-20 10:59am
   
Thank you very much for your help! I am in the process of doing just that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900