TeamCity Build Hangs At "CompileLicxFiles" stage!

Have a problem where our TeamCity build always hangs when I include a license.licx file in a .NET project. It hangs and runs forever when it tries to run the LC.exe utility.   There are 4 ComponentOne binaries in the .licx file. We are using the latest build of Team City (8.0.4). Any help is appreciated. below si the command line it hangs at.

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\LC.exe /target:DelivLogis.exe /complist:"My Project\licenses.licx" /outdir:obj\Release\ /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.ComCtl3.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.MSComCtl2.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.MSComctlLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.MSComDlg.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.MSFlexGridLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.MSMask.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.TrueDBGrid70.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxInterop.XMLTreeLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\AxMaskEdBoxArray.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Common.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Win.C1Command.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Win.C1FlexGrid.Classic.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Win.C1FlexGrid.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Win.C1Input.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\C1.Win.C1TrueDBGrid.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.CrystalReports.Engine.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.Enterprise.Framework.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.Enterprise.InfoStore.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.ReportSource.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.Shared.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\CrystalDecisions.Windows.Forms.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.ComCtl3.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSComCtl2.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSComctlLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSComDlg.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSFlexGridLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSMask.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.MSXML2.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.Scripting.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.TrueDBGrid70.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.VBRUN.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.XArrayDBObject.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Interop.XMLTreeLib.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Microsoft.Office.Interop.Excel.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Compatibility.Data.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Compatibility.dll /i:"C:\Program Files (x86)\Reference Assemblies\Microsoft\VBPowerPacks\v10.0\Microsoft.VisualBasic.PowerPacks.Vs.dll" /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\SpreadsheetGear.dll /i:D:\TeamCity\buildAgent\work\9f6f1087c2e2f557\DeliveryLogisticsSolution\DeliveryLogistics\bin\Sybase.AdoNet2.AseClient.dll /i:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.Services.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /i:C:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll /i:"C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblies\stdole.dll" /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Runtime.Serialization.Formatters.Soap.dll /i:C:\Windows\assembly\GAC\MSDATASRC\7.0.3300.0__b03f5f7f11d50a3a\MSDATASRC.dll /i:C:\Windows\assembly\GAC\Microsoft.StdFormat\7.0.3300.0__b03f5f7f11d50a3a\Microsoft.StdFormat.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll
2 comments
Comment actions Permalink

I know what is causing the problem, but can't figure out how to fix it. We are using the Windows version of Team City Server / Agent.  When LC.exe is called with a .licx file, popup boxes (from Component One) are coming up on the server desktop, waiting for user interaction. This is causing TeamCity to hang.  I have the windows services set up to allow "Interactive Mode", but this still does not solve the problem.  I also tried running the agent outside of a windows service, but that failed as well.


Anyone have any ideas? Thanks.

0
Comment actions Permalink

Hi Shane,

Have you activated the ComponentOne license on the build server? You'll need to do that in order to remove the nag screen.

If you didn't install the entire studio on the build server, you can get the licensing utility here:
http://prerelease.componentone.com/dotnet20/c1licensing/2013-t3/C1LicenseActivation_2.0.20133.54.zip

Unzip that, put the exe somewhere and run it, then enter your key and you should be OK.

If that doesn't work please submit a support incident and we'll be glad to help you further:
http://www.componentone.com/support/default.aspx

Thanks,
John Franco
Customer Engagement Manager, ComponentOne

0

Please sign in to leave a comment.