Error executing child request for handler in view

后端 未结 12 951
臣服心动
臣服心动 2020-12-09 02:30

I have an MVC 4 view where I render the following actions

@{
    Html.RenderAction(\"Index\", \"Logo\");
    Html.RenderAction(\"Index\", \"MainMenu\");
}
         


        
12条回答
  •  北荒
    北荒 (楼主)
    2020-12-09 03:25

    I just got this error occurring in my razor when my partial view had a code formatting error in it.

    If you click 'Continue' to get past the error, you'll see the actual error message displayed in the browser window that you loaded it from.

    Correct the error in the partial view and it'll work!

提交回复
热议问题