When I am using the Copy Web command in the Microsoft Visual Studio .net 2005 to copy asp.net files from the local to the remote server, sometime I got error saying “Access denied” (BTW, to see the Error Log, you will have to scroll down and click the Log… button which might be invisible if you have a small screen).
To resolve this problem, you will have to logon to the remote server to make sure
- The destination folder is opened with Write permission for the ASP.NET users
- If you are replacing the files, please make sure the files are not READ ONLY on the remote server
The item #2 happened to me a lot, and I had to uncheck the READ ONLY checkbox from the files’ properties. The only explanation I can come up is that the Microsoft Visual Safe 6.0 sometime made the files READ-ONLY since we are using VSS for the coding collaboration.
Tags: .NET 2.0, Visual Studio 2005, VSS
文章好啊。我转载一下。是不是博主原产的啊。用不用注明出处.
[Reply]