The drop share directory could not be accessed

We have TFS setup to do integration builds after every check in.  The entire setup is working perfectly well. The only issue is that at times the build fails.  Since I marked unit tests in TFS Scrip to “Continue On Error = true”, the build is marked as partially successful a few times a day.  The error that is logged into build log states the following – “The drop share directory  could not be accessed” when copying unit tests results into the drop share directory.  I searched for similar errors on the inter webs, and there were only two causes listed – incorrect user rights for build service or Windows Time service issue. I knew that neither one was the problem, since build completes successfully most of the time.  I finally looked in the Event Log, mostly just to cover the possible issues, and I found the following error there, logged a few times each day.

Source: srv
Event ID: 2017
Level: Error
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.

I searched for possible solutions, and found this excellent post by Alan LaMielle.

So, I implemented the fix recommended, and the build start succeeding every time!  I just wish that thee two problems were linked together somewhere.  Well, now they are!


Leave a Reply

Your email address will not be published. Required fields are marked *