GXcloud Deployment Services Troubleshooting

Unofficial Content

Here some tips for troubleshooting GeneXus Cloud Deployment Services.

1. When some error occurs during deploy, it may be useful to get the file that GeneXus Cloud Tools 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

2. When using GXcloud MSBuild Tasks, if the last character of KB path is a backslash "\" (e.g.: "c:\gxwxev3u3 \") then you get an error like the following.

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)) -



Solution: Set path to "c:\gxwxev3u3 ", without a backlash

3. The type initializer for 'Deklarit.Data.SqlServer2005Handler' threw an exception. ... Open Knowledge Base Task Failed

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"

4. Unspected 500 error when using GXFlow console or some transactions: A potentially dangerous Request.Form value was detected from the client

This error happens if the application you are deployed is compiled with .NetFramework 2 or 3.5. By default, the GeneXus Cloud Unit 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

5. error: Installation status has not reported any changes in the last 1802.9419859 seconds

If some step in the deployment process lasts more than 30 minutes, you may get that error. 

To increase the timeout, you can set


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)