Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Some of the files for the website I'm moving start with a dot, IE .htaccess or .hiddenFolder or anything similar to that. I'm trying to move these sites from IIS6 to IIS7 (there's hundreds of separate sites), but it won't copy these files and the program fails. Does anyone know a way around this?

C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:sync -source:metakey=lm -dest:archivedir=L:\ancomm2,encryptPassword=pass > msdeployarchive.log

Error: Attempt to perform an unauthorized operation on file 'L:\ancomm2\Content\C_C\Inetpub\vhosts\Servers\20937\localuser\ajmoore\.Security'.
Error: Access to the path is denied.
Error count: 1. 
share|improve this question
    
the error you posted isn't for a file that starts with a dot. Can you post an error that matches your problem description please? –  MattB Nov 11 '10 at 19:48
    
Sorry. It did not format properly and the backslash was hidden –  LinuxGnut Nov 11 '10 at 20:41
    
sorry to comment you to death instead of answer your question, but could you turn on the -verbose flag for msdeploy and see if it includes any further useful information? –  MattB Nov 12 '10 at 15:33
add comment

1 Answer

Check the permissions on both the IIS and make sure that Shares are enable for Drive and stop any firewall if running.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.