System.ArgumentNullException: 'Value cannot be null. Arg_ParamName_Name' + _ViewStart.cshtml + Razor + C#.Net

370 Views Asked by At

Error in _ViewStart.cshtml with DotRez Razor

Steps

I'm trying debug my app (with IIS Express or IIS) but appear error of ArgumentNullException, but if I open de app only with IIS without attach the app, it open correctly.

Exception

System.ArgumentNullException: 'Value cannot be null. Arg_ParamName_Name'

enter image description here

I want to debug my app and I don't have any idea of what is the problem. I have Windows 10 and run with Visual Studio 2022 Professional

0

There are 0 best solutions below