.NET Framework Bookmark and Share   
 index > MSBuild > warning MSB6006 : The drop share directory could not be accessed.
 

warning MSB6006 : The drop share directory could not be accessed.

Hi,

I have added unit test in the Custom Build process on TFS2008.
I have the following error :



 Test Run Completed.

    Passed  99

    ----------

    Total   99

  Results file:      C:\...\TestResults\....Mixed Platforms_Release.trx

  Run Configuration: Local Test Run

  Waiting to publish...

  Publishing results of test run ..._Mixed Platforms_Release to http://...:8080/Build/v1.0/PublishTestResultsBuildService2.asmx...

  .The drop share directory "\\...\Build\...\..._20090903.11" could not be accessed.

  The drop share directory "\\...\Build\...\..._20090903.11" could not be accessed.

MSBUILD : warning MSB6006: "MSTest.exe" exited with code 1.

  The previous error was converted to a warning because the task was called with ContinueOnError=true.

  Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".



But the folder is shared.

Thank you for your help.

Michaël
cosmos38240
Hi Michael,

To check if it is a permission error, please grant full permission toEveryone on the share folder.
Make sure the it is applied both in Windows and Share permissions.

If it is a permission issue, please grant following accounts with read and write permissions:
1. TFS build service account
2. TFS service account (the account set in TFS app pool in IIS)

According to a similar thread at: http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/c50c0423-3c89-44fd-be66-f901f00c0a7f
Please try:
"Restart the "Windows Time" service on the build machine - this should cause it to resynch with the network time. For more info, look up "Windows Time Service" on MSDN."

Please let me know if it works.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Marked As Answer bycosmos38240 Friday, September 04, 2009 12:03 PM
  •  
Hongye Sun
Hi Michael,

To check if it is a permission error, please grant full permission toEveryone on the share folder.
Make sure the it is applied both in Windows and Share permissions.

If it is a permission issue, please grant following accounts with read and write permissions:
1. TFS build service account
2. TFS service account (the account set in TFS app pool in IIS)

According to a similar thread at: http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/c50c0423-3c89-44fd-be66-f901f00c0a7f
Please try:
"Restart the "Windows Time" service on the build machine - this should cause it to resynch with the network time. For more info, look up "Windows Time Service" on MSDN."

Please let me know if it works.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Marked As Answer bycosmos38240 Friday, September 04, 2009 12:03 PM
  •  
Hongye Sun
Hi Hongye,

Thank you for your help, it is fixed now.

The solution is: please grant following accounts with read and write permissions for TFS service account (the account set in TFS app pool in IIS)

I have added the right to TFSService account as you said and everything is working now.

The Build service is running on Network Service that's why I didn't put TFSservice access before ... :) (and 'everyone' is not working, don't know why)

Regards
Michaël
cosmos38240

You can use google to search for other answers

Custom Search

More Threads

• NDoc project after a MSBuild
• An annoying problem - A site that works locally in VS2005 - doesn't work when copied to the web & IIS 6
• No longer get Intellisense in MSBuild projects after Windows SDK 6.1 installation
• DestinationPageUrl based on roles
• foreach item in Item - Exec
• find the buildfile dir
• Web.Config
• Build Engine BuildProjectFile
• Publishing WCF Services using MSBUild
• Run the application during build