SQL server logs in and reports an error that cannot be empty or null

Time:2021-10-24

SQL Server 2012 value cannot be null. Parameter name: viewinfo (Microsoft. Sqlserver. Managemen)

This is because a directory named 2 is missing in C: \ users \ your user name \ appdata \ local \ temp \. Just add it.