Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial Control Errors #12

Open
DureSameen opened this issue Feb 8, 2017 · 0 comments
Open

Partial Control Errors #12

DureSameen opened this issue Feb 8, 2017 · 0 comments

Comments

@DureSameen
Copy link

When partial views are being used in a page, that's url is transformed by lowercase-dashed-route, it throw error as following,

The partial view '_bankRateForm' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/r-o-i/_bankRateForm.aspx
~/Views/r-o-i/_bankRateForm.ascx
~/Views/Shared/_bankRateForm.aspx
~/Views/Shared/_bankRateForm.ascx
~/Views/r-o-i/_bankRateForm.cshtml
~/Views/r-o-i/_bankRateForm.vbhtml
~/Views/Shared/_bankRateForm.cshtml
~/Views/Shared/_bankRateForm.vbhtml

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: The partial view '_bankRateForm' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/r-o-i/_bankRateForm.aspx
~/Views/r-o-i/_bankRateForm.ascx
~/Views/Shared/_bankRateForm.aspx
~/Views/Shared/_bankRateForm.ascx
~/Views/r-o-i/_bankRateForm.cshtml
~/Views/r-o-i/_bankRateForm.vbhtml
~/Views/Shared/_bankRateForm.cshtml
~/Views/Shared/_bankRateForm.vbhtml

Source Error: 


Line 11:     @Html.AntiForgeryToken()
Line 12: 
Line 13:     @Html.Partial("_bankRateForm", Model)
Line 14: }

 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant