When I had this problem when publishing a Visual Studio 2010 web project either in a local folder or on a host, I was at a dead end. Visual Studio did not indicate which files or even folders caused the problem. I did not know that there were any encrypted files in the solution, and I could not find them. I could not update my site.
I was looking for files with encrypted files, but none of the solutions related to efsinfo.exe was suitable for Windows 7, then I found an example using the encryption command:
https://superuser.com/questions/58878/how-to-list-encrypted-files-in-windows-7
Several different responses were found to search for encrypted files. I used the command line method.
I opened the command line at the root of my application and did:
D: \ Data \ Code2011> cipher / s: MyWeb> Encryption.txt
Then I did a case-sensitive search in Encryption.txt for lines starting with E [space] or "file is encrypted"
I found two .htc files that were encrypted in the styles subfolder and were able to decrypt them on the Advanced tab of the file properties of the explorer.
Then the website is compiled and published by "OK".
source share