Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i tried to deploy a web application using the command window the following error occurred:-

Error Code : ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER
More Information : Unable to perform the operation ("Create directory") for the
specified directory ("C:\inetpub\wwwroot\myApp_Deploy").This can occur if the server
administrator has not authorized this operation for the user credentials you are using.


Error: The error code was 0x80070005.
Error Access to the path "C:\inetpub\wwwroot\myApp_Deploy" is denied



please any help with this ??
note :- the deploy package is on the TFS Server.and i am trying to deploy the app on the application server.
Posted
Comments
Kiran Susarla 11-Jul-12 7:29am    
Does your credentials has admin permission on the server you are installing?
rushdi obeidat 11-Jul-12 7:31am    
yes i have the administrator user permission.and the funny thing is this is not the first time that i use this way.

1 solution

Run the command prompt in administrator mode by right clicking on it and select "Run as Administrator".. This worked for me most of the time.. Give it a try..!
 
Share this answer
 
Comments
rushdi obeidat 11-Jul-12 8:24am    
thank you so much. but i figured out that the problem was in the definition of the package publish web in the release mode i forgot to put the right folder destination on the application server.
but thank you any way. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900