0

So I've been setting up TFS 2010 automated deployment, and after the steps recommended elsewhere here on SO, I've reluctantly installed VS2010 on my build server to make it work. Now I get meaningful errors which generally allow me to fix things.

Right now, though, in my log, I'm getting this, which isn't helping me:

C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3847): Web deployment task failed. (An error occurred when committing changes to the IIS Configuration System. The identity performing the operation was 'NT AUTHORITY\NETWORK SERVICE'.)

Given that I'm publishing to IIS 6, am I missing a permission somewhere?

EDIT: I can successfully deploy from my desktop to the IIS 6 site.

reallyJim
  • 1,336
  • 2
  • 16
  • 32
  • Can you deploy to that server from your desktop, either using the command-line MSDEPLOY or using Publish from inside of Visual Studio? – John Saunders Dec 08 '11 at 19:40
  • `NT AUTHORITY` principals are local to the machine they're running on. That identity doesn't pass to the remote IIS machine. You may need to run the build as a real domain user, or run the deploy commands that way. – John Saunders Dec 08 '11 at 19:49
  • Tried running the deploy task as me, an admin on both the Web Server (IIS6) and the Build Server. No change. (That is, I added my credentials to the MSBuild Arguments of the build template) – reallyJim Dec 08 '11 at 19:53

0 Answers0