Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have 2 pages one page have edit button when i click on edit button it goes to 2nd page.it gives eroor when i publish site locally.error as follows:
The view 'EditReason' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Reason/EditReason.aspx
~/Views/Reason/EditReason.ascx
~/Views/Shared/EditReason.aspx
~/Views/Shared/EditReason.ascx
~/Views/Reason/EditReason.cshtml
~/Views/Reason/EditReason.vbhtml
~/Views/Shared/EditReason.cshtml
~/Views/Shared/EditReason.vbhtml
plz help me?
Posted
Comments
Kriti Sharma 10400841 13-Jun-14 4:22am    
i am note sure but try this.. replace ~/ to ../ where the path is set
Murali Vijay 13-Jun-14 6:19am    
it's because view is not set to your edit controller...

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