Click here to Skip to main content
15,614,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I try to add a view, an error message pops up saying "Arithmetic operation resulted in an overflow"

What I have tried:

I've unsuccessfully tried rebooting my PC, restarting and updating Visual Studio Community 2022
Updated 23-Jan-22 15:44pm
Richard Deeming 18-Nov-21 9:50am    
See if the problem has already been reported, and if not, report it to Microsoft:
Visual Studio Feedback[^]

If you use the feedback button within Visual Studio, it will attach additional information to help them find the problem.
#realJSOP 19-Nov-21 5:06am    
It's MVC4, so Microsoft will ignore him.
#realJSOP 21-Nov-21 9:22am    
You're using beta software. What did you expect?

This issue already reported for fixation. Kindly open your Visual Studio in Admin mode to avoid this exception. I would suggests open as Admin by default.
To open you Visual Studio in Admin mode, open VS installed folder. Right click on devenv.exe and under troubleshoot program set additional permissions.
Share this answer
I have the same problem with VS2022 Community. Released version. It's an MVC4 project.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900