Insufficient system resources exist to complete the requested service Visual Studio

JHerk picture JHerk · Apr 11, 2018 · Viewed 7.9k times · Source

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?

Answer

JHerk picture JHerk · Apr 12, 2018

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.