error building project with license file .licx

(CompileLicxFiles target) -> Properties\licenses.licx(1): error LC0004: Exception occurred creating type 'C1.Web.C1Input.C1WebNumericEdit, C1.Web.C1Input.2, Version=2.0.20073.429, Culture=neutral, PublicKeyToken=96d8a77dc0c22f6b' System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

Anyone have solutions?

4 comments
Comment actions Permalink

The problem is that it's trying to launch the licensing window for Component One stating that the evaluation version is expired. It appears the .licx file doesn't keep it from happening on the build server but it does on the application servers.

0
Comment actions Permalink

Please check you build agent service is running under some real user account.
Could you please check .llicx file is found by the component on the build run.

Thanks!

0
Comment actions Permalink

I have the same problem, but in case I change the logon of the agent within the Windows Services manager, the agent is disconnected from the agents list. How tha agents logon is changed correctly?

0
Comment actions Permalink

Hi Daniel

Windows services cannot interact with user's desktop, so you need to start the build agent not as Windows service, but interactivelly within your logon session using agent.bat

0

Please sign in to leave a comment.