Partager via


Help~ cannot compile solutions from TFS server!!

When programmers try to compile the solutions that have been checked in to the TFS Server, it failed!

If you face this situation, don't panic, try the following solutions:

First, make sure your programmers have the sufficient permission to check out and compile solutions. Here is an article on how to grant permissions to TFS users: https://blogs.msdn.com/vstsue/articles/422773.aspx 

 

Work? If still cannot, try this:

If you open a solution from source control that contains a multi-level IIS web, you might need to add read permissions for IIS to the parent folders in the web in order to debug

To resolve this issue

In Windows Explorer, add "Read" permissions for the ASP.NET user account to the parent folders in your URL. And if you are using Windows Server 2003, the NETWORK SERVICE account also requires read permissions to the folder. For example, if you open a solution from source control containing "https://localhost/MyWebs/Web1", navigate in Windows Explorer to the directory that "https://localhost/MyWebs" points to and add permissions to this folder. Or, you can choose to open your solution to a different location on your computer where the Users group has read access (By default, the My Documents directory and its subfolders do not grant read access to the Users group).