Insufficient system resources exist to complete the requested service Visual Studio

3

I have written a form based application in vb.net using Visual Studio 2017 - within Visual Studio it runs successfully.

However, after publication and upon running the app, I receive the error message:

Following failure messages were detected: + Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)

I have done some research into this and have found that disabling McAfee prevents this error from occurring (this makes sense as a McAfee warning occasionally pops up when trying to open the program). However, as I am writing this for a corporation, disabling McAfee is not an option.

Ideally I'd like way I can get around this error. Failing that, is there something I can disable within McAfee?

vb.net
visual-studio
out-of-memory
mcafee
asked on Stack Overflow Apr 11, 2018 by JHerk • edited Apr 11, 2018 by Vishaal Shankar

1 Answer

0

We were able to solve this by getting our iso to add the relevant folders to the McAfee trusted list and include the executable in the global exclusions list. The system treated the newly published app as malicious and this needed to be changed manually.

answered on Stack Overflow Apr 12, 2018 by JHerk

User contributions licensed under CC BY-SA 3.0