2017-02-06 7 views
0

Bamboo를 사용하여 .Net proj를 원격 서버에 배포하려고합니다.msbuild 오류 MSB3191 : 원격 서버에 게시하는 동안 디렉토리를 만들 수 없습니다.

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
<PropertyGroup> 
    <WebPublishMethod>FileSystem</WebPublishMethod> 
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> 
    <LastUsedPlatform>Any CPU</LastUsedPlatform> 
    <SiteUrlToLaunchAfterPublish /> 
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> 
    <ExcludeApp_Data>False</ExcludeApp_Data> 
    <publishUrl>\\<server.IP.Address>\Path\To\Publish\Folder</publishUrl> 
    <DeleteExistingFiles>True</DeleteExistingFiles> 
</PropertyGroup> 
</Project> 

현재 기록 된 서버에서 사용자의 관리자 권한, 그리고 폴더도 공유 : 은 내가 MSBuild에서 작업을

msbuild <solution file> /p:DeployOnBuild=true /p:PublishProfile="publishXMLFile" 

PublishXMLFile을 사용했다 을 대나무에 새로운 오전. 내가 놓친 거지 이해하지 않는

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Deploy\Microsoft.Web.Publishing.Deploy.FileSystem.targets(93,5): error MSB3191: Unable to create directory "\\<server.IP.Address>\Path\To\Publish\Folder". Access to the path '\\<server.IP.Address>\Path\To\Publish\Folder' is denied. [C:\bamboo\bamboo-agent-home\xml-data\build-dir\132710426-132546751\Project\Path\ProjectName.csproj] 

: 아직도 나는 다음과 같은 오류를 얻고있다.

저는 대나무를 처음 사용합니다.

답변

0

오류 메시지에 사용 권한이 거부되었습니다. Bamboo 사용자가 디렉토리를 만들거나 수정할 수있는 권한이 있는지 확인하십시오. "\\ 경로 \ 대상 \ 게시 \ 폴더". 재귀 사용 권한이 누락되었을 수 있습니다.