Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,267
Community Members
 
Community Events
176
Community Groups

Deploying .Net core application using Bamboo

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

1 answer

0 votes
Jimmy Seddon Community Leader Jun 03, 2019

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

Jimmy Seddon Community Leader Jun 03, 2019

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

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events