vb.netvisual-studioout-of-memorymcafee

Insufficient system resources exist to complete the requested service Visual Studio


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?


Solution

  • 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.