Duane Newman

.NET, Windows, Linux, gadgets, and other cool stuff

  • Blogroll

  • Flickr

    John Oliver CabinHand Blown Glass OrnamentsCades CodeIslands in the Clouds
  • My Del.icio.us

CruiseControl.Net and Windows Server 2008 setup from hell

Posted by duane on March 16th, 2009

I was recently tasked with getting our new build server running with automated builds.

This included a number of tasks, but the biggest one was getting cc.net running.  While it did not take much to get CruiseControl.net configured to actually check svn and run my NAnt script-it did take a while for it to succeed.  We use a number of third party tools that require the use of a license.licx file (Divelements SandDock and Actipro WPF Studio).  My NAnt script would compile run and compile everything fine if I ran it from the console or a bat file, but would fail if I ran it through cc.net.  I would get the following error:

licenses.licx(1): error LC0004: Exception occurred creating type ‘Divelements.SandDock.DockSite, Divelements.SandDock, Version=1.4.2.2, Culture=neutral, PublicKeyToken=75b7ec17dd7c14c3′ System.Runtime.InteropServices.COMException (0×80070018): The program issued a command but the command length is incorrect. (Exception from HRESULT: 0×80070018)

I did massive searching on ‘LC0004’ and cc.net and found a lot of people having weird issues with the licensing but with a different error message.  I tried several of the solutions including running the service as my user and none of them worked.  I finally searched on the specific error code (0×80070018) and found a couple of hits that were promising (http://davidgardiner.blogspot.com/2008/08/installing-cruisecontrolnet-on-windows.html) but still didn’t work.  However, it led to this MS connect feedback (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=361469) which led to the following updates:

The package containing fixes for NET3.5sp1 for Windows Vista, Windows 2008 Server are now available here:

x86: http://www.microsoft.com/downloads/details.aspx?familyid=b9de7937-2c12-4f16-ad66-a31b83931953
x64: http://www.microsoft.com/downloads/details.aspx?familyid=98e83614-c30a-4b75-9e05-0a9c3fbdd20d
IA64: http://www.microsoft.com/downloads/details.aspx?familyid=c6adc586-2518-404b-8973-e1e22c556af4

Installing the packages listed here allowed my build to begin working.

11 Responses to “CruiseControl.Net and Windows Server 2008 setup from hell”

  1. Slava Imeshev Says:

    Duane,

    You might check out Parabuild for build management - it works on Windows Server 2008 out of the box.

    Regards,

    Slava Imeshev

  2. PEDRO Says:

    < blockquote >< a href=”http://medicamentspot.com/”>Medicamentspot.com. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. High quality pills. Buy pills online< /a >…

    Buy:Mega Hoodia.Lumigan.Zovirax.100% Pure Okinawan Coral Calcium.Synthroid.Valtrex.Zyban.Nexium.Prevacid.Petcam (Metacam) Oral Suspension.Human Growth Hormone.Accutane.Retin-A.Arimidex.Prednisolone.Actos….

  3. How Says:

    How http://AACEHARDWARE.INFO/tag/How To : How…

    makeup eye/…

  4. DVD-RW Says:

    10 http://04FORDPARTS.US/tag/DVD-RW 10 : 10…

    00a rw NEC/…

  5. Epson Says:

    Epson http://tarriro6-ix.AUTOPARTSTHAI.INFO/tag/Ink Cartridge Epson Cx8400 epson ink/ : ink…

    Cartridge…

  6. Fat Says:

    Loss http://ahowgrhdlxn.ACEHARDWAREE.INFO/tag/Fat Loss Above upper loss/ : Above…

    Fat…

  7. d230 Says:

    Panasonic http://xpanasonicebt0-p.05KIAPARTS.US/tag/Downloads+d230+Panasonic/ : Panasonic…

    Panasonic…

  8. Lights Says:

    and http://lwhitez1bvfbc.APTAUTOPARTS.INFO/tag/Lights+Sounds+of+Christmas+sacramento+and/ : Christmas…

    of…

  9. Northern Says:

    Banks http://lmackinaw8qrhejo.ACEHARDWAREE.INFO/tag/Banks+in+Northern+Virginia+va+assistance/ : in…

    in…

  10. profile Says:

    ge http://cpdw7300yod2pp7.02JEEPPARTS.US/tag/kitchenaid+profile+ge/ : ge…

    ge…

  11. Cases Says:

    portfolio http://nmotorolas3n.AUTOPARTSTHAI.INFO/tag/Shipping+Cases+portfolio+Case/ : Shipping…

    portfolio…

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>