Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 178941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:19:09+00:00 2026-05-11T14:19:09+00:00

I’ve currently got CC.Net setup for doing builds and it’s awesome. But now I

  • 0

I’ve currently got CC.Net setup for doing builds and it’s awesome. But now I want to go all the way and use it for deployment as well. I was thinking about installing CC.Net on staging and after a build completes and it’s autouploaded fire the forcebuild trigger to staging and have it use msbuild and the necessary extensions to gac, install services ect. to get the install done.

I’ve also seen msdeploy which seems to have similar goals. What do you think of my plan and how are you all doing automated deployment?

Notes

  • SMB (File Shares) are disabled in the staging network which eliminates the possibility of psexec. The reason it is disabled is we wanted the network to be locked down and when I asked about opening I was told too many ports need to be opened. Something to do with the authentication?

    • It may be the case that this port argument is bunk. I’ve setup Samba shares before but I’ve never worked with Active Directory so I shutup and listened.
  • Only FTP, RDP and HTTP are opened

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:19:10+00:00Added an answer on May 11, 2026 at 2:19 pm

    Richard, we didn’t want to put CruiseControl anywhere near staging or production servers.

    For LAN (ie. internal production servers) we have manually triggered Production Deploy CC tasks which stop IIS (sites and app-pools), copy the new site across and restart IIS stuff.

    For DMZ deployments (ie. internet stuff, no AD-auth’d connections possible) we do as much of the build as we can internally and ZIP up the results, including a NAnt script which does the ‘final steps’. There is an internal CC task which does all that and FTPs the ZIP out to the target servers. To complete the process requires manual intervention: logging in to the box remotely, unzipping and then running the NAnt to ‘complete’ deployment (stop/copy/start/whatever).

    I’m not sure about GAC, but IIS seems controllable via .VBS files

    ' Connect to the WMI WebAdministration namespace. Set oWebAdmin = GetObject('winmgmts:\\devserver.local\root\WebAdministration')  ' Specify the application pool. Set oAppPool = oWebAdmin.Get('ApplicationPool.Name='ProjectName'')  ' Stop the application pool. oAppPool.Stop ' now website; get the application website Set objWebSite = GetObject('IIS://localhost/W3SVC/7') ' id of web site ' get the app pool object for the websites app pool id Set objAppPool = GetObject('IIS://localhost/W3SVC/AppPools/ProjectName') 'stop the site objWebSite.Stop() ' stop the app pool objAppPool.Stop() 

    For services we use psexec.exe via NAnt

      <property name='Remote.Executor' value='${ToolsDir}\PSTools\psexec.exe' overwrite='false' />   <!-- installs a particular windows service remotely from the command line -->   <target name='installWindowsServiceRemote'>     <echo message='${Service.Install.Action}ing ${Service.Name} on ${Deploy.TargetServer}...' />     <exec program='${Remote.Executor}'>       <arg line='\\${Deploy.TargetServer} ${Deploy.TargetFolder}\${Service.Name} /${Service.Install.Action}' />     </exec>   </target> 

    Anyway there’s probably dozens of ways to approach this – the internally-automated/external-manual-step-required setup works for us.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can do this easily enough in the designer (SSMS)… May 12, 2026 at 1:05 am
  • Editorial Team
    Editorial Team added an answer Turn your thinking around a bit. You don't need the… May 12, 2026 at 1:05 am
  • Editorial Team
    Editorial Team added an answer No, it's only good for the namespace section inside the… May 12, 2026 at 1:05 am

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.