Click here to Skip to main content
14,691,238 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
An unhandled exception occurred while processing the request.
InvalidOperationException: The view 'Index1' was not found. The following locations were searched:


What I have tried:

Criar um sistema de vendas, porém não usei index como principal, eu criei outra página index1 e tentei colocar o sistema de vendas nela

Create a sales system, but i didn't use index as main, i created another index1 page and tried to put the sales system on it
Updated 5 days ago
CHill60 5 days ago
Em inglês por favor

1 solution

At some point in your ProdutoesController, you either have an action called Index1 which calls the View method, or you have an action which calls the View method and specifies a view name of "Index1".

You do not have a view called "Index1".

Either create the missing view, or correct the action or view name in your controller.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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