If you are getting the below error message in ASP.NET MVC Web Application, you can resolve it by looking at the methods that renders the partial view in the screen.
“Server Error in ‘/’ Application.
——————————————————————————–
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1502: The best overloaded method match for ‘System.Web.WebPages.WebPageExecutingBase.Write (System.Web.WebPages.HelperResult)’ has some invalid arguments
“
Verify the @Html.RenderPartial method and if possible use the @Html.Render method to resolve this issue.
Leave a Reply