I am new to the whole Web deployment game and I am having trouble with a web deployment project I have. The project worked when it was on the a development server, then when we moved it to our new production server of TFS it fails.
A bit of background first, I am on my first month at this position. The guy before me who is no longer with the company set everything up for the web deployment project. It looks like all he did was take the defaults on everything. In I come, our TFS
environment goes live on a new server and now the web deploy fails and nothing changed in the solution. I will add that the build server does not have VS 2005 on it but I did install the web deployment msi on it. The build server also host our IIS 6.0 where
our deployment is going. Well in fact, we use on server to host our entire development environment, both tiers of TFS and build server (not my idea). Nonetheless, that the way it is am I trying my best to change but I doubt it's going to happen.
The error message is as follows:
Using "CreateVirtualDirectory" task from assembly "C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.Tasks.dll".
Task "CreateVirtualDirectory"
Initializing IIS Web Server...
C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.targets(542,5): error : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Done building target "CreateVirtualDirectory" in project "web2005_deploy.wdproj" -- FAILED.
Done building project "web2005_deploy.wdproj" -- FAILED.
TFSservices and TFSBuild have admin rights on the build server, therefore it should not be a permissions problem. Next, I figured that it was trying to create the vdir in a website that didn't exist. Okay, easy enough, I create a new website, but the trouble
is I don't see anywhere to connect or link the web deployment project to my new website.
My Question are:
Am I on the track or am I way off?
How do you link what the web deployment project is doing to the website you want to deploy it to?
hopenbr
Member
10 Points
2 Posts
Changing Build Servers
Dec 06, 2006 06:39 PM|LINK
Hello,
I am new to the whole Web deployment game and I am having trouble with a web deployment project I have. The project worked when it was on the a development server, then when we moved it to our new production server of TFS it fails.
A bit of background first, I am on my first month at this position. The guy before me who is no longer with the company set everything up for the web deployment project. It looks like all he did was take the defaults on everything. In I come, our TFS environment goes live on a new server and now the web deploy fails and nothing changed in the solution. I will add that the build server does not have VS 2005 on it but I did install the web deployment msi on it. The build server also host our IIS 6.0 where our deployment is going. Well in fact, we use on server to host our entire development environment, both tiers of TFS and build server (not my idea). Nonetheless, that the way it is am I trying my best to change but I doubt it's going to happen.
The error message is as follows:
TFSservices and TFSBuild have admin rights on the build server, therefore it should not be a permissions problem. Next, I figured that it was trying to create the vdir in a website that didn't exist. Okay, easy enough, I create a new website, but the trouble is I don't see anywhere to connect or link the web deployment project to my new website.
My Question are:
Am I on the track or am I way off?
How do you link what the web deployment project is doing to the website you want to deploy it to?
Any help would be greatly appreciated
Thanks
BJ
VS 2005 Web Deployment Projects configuration