Hi All,
 
I'm trying to build a web project using NAnt and run into the error printed below - is this a permissions problem? My build file is shown at the bottom.
 
Thanks,
Sandeep
 
<error message>
 
Buildfile: file:///C:/Inetpub/wwwroot/SS/try1.build
 [solution] Starting solution build.
http://localhost/SS/SS.csproj
Total time: 0 seconds.
 
BUILD FAILED
 
INTERNAL ERROR
 
System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.CheckFinalStatus()
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.HttpWebRequest.GetResponse()
   at NAnt.VSNet.Tasks.WebDavClient.GetFileContentsStatic(String strRemoteFilena
me)
   at NAnt.VSNet.Tasks.Project.LoadXmlDocument(String strFilename)
   at NAnt.VSNet.Tasks.Project.IsEnterpriseTemplateProject(String strFilename)
   at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAd
ditionalProjects, ArrayList alReferenceProjects, TempFileCollection tfc, Task na
nttask)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
 
</error message>
 
<build file>
 
<project name="NAnt">
 <solution solutionfile="SS.sln" configuration="debug">
     <webmap>
         <map url=""http://localhost/SS/SS.csproj">http://localhost/SS/SS.csproj" path="c:\inetpub\wwwroot\SS\SS.csproj" />
     </webmap>
 </solution>
</project>
</build file>
 
 

Reply via email to