Here some tips for troubleshooting 28935?.
1. When some error occurs during deploy, it may be useful to get the file that 28936? has uploaded.
To get it, set the following:
<add key="KeepUploadedFile" value="true" />
in the general section of the following file: %appdata%\Artech\GeneXus\10Ev3\Environment.config or %appdata%\GeneXus\GeneXus\15\Environment.config
Build started 8/7/2015 11:14:45 AM.
Project "C:\gxwxev3u3\GxCloud.msbuild" on node 1 (DeployNewApp target(s)).
C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4018: The "OpenKnowledgeBase" task failed unexpectedly.\r
C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4018: System.ArgumentException: Illegal characters in path.\r
C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4018: at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)\r
C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4018: at System.IO.Path.IsPathRooted(String path)\r
C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4018: at Genexus.MsBuild.Tasks. OpenKnowledgeBase.set_Directory(String value) C:\gxwxev3u3\GxCloud.msbuild(26,22): error MSB4026: The "Directory=$(KBPath)" parameter for the "OpenKnowledgeBase" task is invalid. C:\gxwxev3u3\GxCloud.msbuild(26,3): error MSB4063: The "OpenKnowledgeBase" task could not be initialized with its input parameters.
Done Building Project "C:\gxwxev3u3\GxCloud.msbuild" (DeployNewApp target(s)) -
- FAILED.
Build FAILED.
Solution: Set path to "c:\gxwxev3u3 ", without a backlash
If may get that error when using msbuild.exe of .NET Framework 4.0
Solution: Use .NET framework 3.5. For example, so:
C:\gxcloud>C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe "C:\gxwxev3u3\GxCloud.msbuild" /t:DeployNewApp /p:CloudName="Sandbox" /p:TargetName="Sandbox" /p:KBPath="E:\Models\MyTest" /p:CloudUserName=*** /p:CloudPassword=******** /p:AppName="MyTest" /p:CloudUri="https://gxcloudmanager/test" /p:GXInstallation="C:\GxwXEv3U3"
This error happens if the application you are deployed is compiled with .NetFramework 2 or 3.5. By default, the 28940? instances for .Net applications use the .NetFramework 4.0 runtime, which causes this kind of errors when running GeneXus applications compiled with previous runtime versions.
Solution: See SAC #32866
If some step in the deployment process lasts more than 30 minutes, you may get that error.
To increase the timeout, you can set
<add key="CLOUD_STATUS_UNCHANGED_CHECK_TIMEOUT_SECONDS" value="3600" />
in the general section of the following file: %appdata%\Roaming\Artech\GeneXus\10Ev3\Environment.config or %appdata%\GeneXus\GeneXus\15\Environment.config
(the above sample sets the timeout to 1hour)