Hi,
I have a .net core application that I build using bamboo successfully. But now whenever I try to deploy it using bamboo, I am getting
Error Code: ERROR_SITE_DOES_NOT_EXIST
More Information: Site 'Default Web Site' does not exist. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST.
Error count: 1.
I want to deploy this application as a web site and not as a web application. Am I missing some setting?
Regards
Sanjay Shenvekar
Hi @Sanjay,
It sounds like you are trying to do a web deploy of your site using Bamboo. If I remember correctly the site needs to exist before you can web deploy to it. So you either need to incorperate that as a task (a check to see if the site exists and create it if it doesn't). Or you will need to make sure to create the website head of letting Bamboo run the deployment job.
I hope that helps.
-James
I am running below inline query as the script to deploy the application on IIS
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package="${bamboo.build.working.directory}\****.zip" -dest:auto,ComputerName="destserver/MsDeployAgentService",AuthType='NTLM'
The site is already exist on the destination server with the application pool.
The only thing I am expecting here is to deploy the published contents into the specific folder.
Although I don't know how to mention the exact folder in the script above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sanjay,
We always use the <Package_Name>.deploy.cmd file that gets included in the zip package when we publish the web deploy package locally instead of performing it the way you have listed above.
Based on the error what you might want to check is to make sure that the user account that is running the Bamboo server service has the proper access rights to the destination web server since that is the user that will be running this job. That might be a reason you are seeing that the site doesn't exist.
I hope that helps.
-James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi James,
I am the admin and I do all the deployment on servers (including prod deployments). hence the access should not be an issue
Of course the Default web site is not there. As I mentioned earlier, i would like to create a Web site and not a web application inside default web site
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.