Insufficient Resources Error - Visual Studio Community 2019

Copper Contributor

Hello! I've written out a program that will obtain data from a txt file, manipulate it, and output it in an Output.dat file. However, when I try to run the program, I get the following error: "Insufficient resources exist to complete the requested service." I am able to run other programs with no problems, but Visual Studio won't cooperate with this specific program. My teacher has also tried to run this program on his computer, and it works fine. I'm not sure what the problem is since it works on his computer, and both the .txt and .dat files are in the same folder as the .cpp and .sln files. 

 

Some of the things I have tried: repair install, sfc scan, cleaning and rebuilding the solution, uninstalling and reinstalling Visual Studio Community 2019, creating a new program with the same code, creating a new folder with all the necessary files (the folder with my teacher's program that works on his computer), and some more that I cannot remember.

 

Thank you!

0 Replies