Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

250 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you