GeneXus M - Troubleshooting

Official Content
This documentation is valid for:

Troubleshooting GeneXus M (IDE)

Activating Workspace

GeneXus is activating your Workspace, please wait...

Explanation: GeneXus M is requesting the platform to activate the workspace. That is, starting the virtual machine that hosts the working copies of your knowledge bases.
Solution: Please wait, it may take 2 or 3 minutes. If it takes longer contact the administrator of the platform


Connection lost

Server connection was interrupted due to inactivity or an internet connection problem. Click 'Try Reconnect' to try to re-establish it

Explanation: GeneXus M uses a distributed architecture. So you may have lost internect connection. Another fact is, that server-side is not always active: it is deactivated (for energy and cost savings) after some while with inactivity.
Solution: Click 'Try Reconnect' to try to re-establish it


Troubleshooting GeneXus M (Linux specific)

Error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Using Ubuntu Linux 18 (Bionic) the following error may appear:

bash: ./GeneXus: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Cause: Your system does not have the dependency installed.
Solution: open up a Terminal window and type

sudo apt-get install -y libgconf-2-4

Troubleshooting GeneXus M  (Server-side)

Your process does not have access rights to this namespace

 

Unhandled Exception: System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8001/gx/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: Access is denied
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
   at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at GenexusServiceHost.Host.StartServer(Object instance, Type contract, String uri) in f:\Build\MServices\Server\GenexusServiceHost\Host.cs:line 153
   at GenexusServiceHost.Host.Start() in f:\Build\MServices\Server\GenexusServiceHost\Host.cs:line 91
   at GenexusServiceHost.Host.InitService() in f:\Build\MServices\Server\GenexusServiceHost\Host.cs:line 29
   at GenexusServiceHost.WindowsService.ServiceImplementation.OnStart(String[] args) in f:\Build\MServices\Server\GenexusServiceHost\WindowsService\ServiceImplementation.cs:line 27
   at WindowsService.Framework.ConsoleHarness.Run(String[] args, IWindowsService service) in f:\Build\MServices\Server\GenexusServiceHost\WindowsService\Framework\ConsoleHarness.cs:line 14
   at GenexusServiceHost.Program.Main(String[] args) in f:\Build\MServices\Server\GenexusServiceHost\Program.cs:line 63

Cause: You have executed RUN.BAT (GeneXus M Services) without proper permissions.
Solution: Execute RUN.BAT as administrator, that is, right-click "Run as Administrator" or open command prompt as administrator before executing RUN.BAT.


ERROR GeneXus M Services - ERROR: Provisioning Server not found at:http://localhost/GeneXusServerBeta

 

2018-12-27 17:10:45,689 [14] INFO  GeneXus M Services - Retrying connection to provisioning server
2018-12-27 17:10:45,689 [14] FATAL GeneXus M Services - Error GeneXus M Services
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadData(Uri address, String method, Byte[] data)
   at System.Net.WebClient.UploadData(Uri address, Byte[] data)
   at GXServices.ProvisioningInterop.ProvisioningServices.RegisterServer(KBServerInfo info) in f:\Build\MServices\Server\GenexusServices\ProvisioningInterop\ProvisioningServices.cs:line 82
   at GXServices.ProvisioningInterop.KeepAliveDaemon.PerformRegistration() in f:\Build\MServices\Server\GenexusServices\ProvisioningInterop\KeepAliveDaemon.cs:line 64
ERROR: Provisioning Server not found at:http://localhost/GeneXusServerBeta
2018-12-27 17:10:45,876 [14] ERROR GeneXus M Services - ERROR: Provisioning Server not found at:http://localhost/GeneXusServerBeta

Cause: You misconfigured field ProvisioningEndpoint at file LocalSettings.json
Solution: Recheck file LocalSettings.json, especially field ProvisioningEndpoint. You must use the trailing slash, ie: "http://server1/GeneXusServerBeta/". See sample here


Genexus.Tasks.targets" of the "Project" attribute in element <Import> is invalid. Illegal characters in path. 

 

Project "C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" on node 1 (RebuildAndDeploy target(s)).
C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild(7,2): error MSB4102: The value "C:\Program Files (x86)\GeneXus\GXV17Beta" /p:KbLocation=c:\GeneXusM\GeneXusM-Projects\c20ad7be-8786-461b-987d-238866f2cc65\kb  /p:DatabaseUser=user /p:DatabasePassword=pwd\Genexus.Tasks.targets" of the "Project" attribute in element <Import> is invalid. Illegal characters in path.
Done Building Project "C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" (RebuildAndDeploy target(s)) -- FAILED.

Build FAILED.

"C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" (RebuildAndDeploy target) (1) ->
  C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild(7,2): error MSB4102: The value "C:\Program Files (x86)\GeneXus\GXV17Beta" /p:KbLocation=c:\GeneXusM\GeneXusM-Projects\c20ad7be-8786-461b-987d-238866f2cc65\kb  /p:DatabaseUser=user /p:DatabasePassword=pwd\Genexus.Tasks.targets" of the "Project" attribute in element <Import> is invalid. Illegal characters in path.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.03

2018-12-28 12:46:40,386 [10] INFO  GeneXus M Services - OUT 'c20ad7be-8786-461b-987d-238866f2cc65':================================DUMP====================================
EXEC:"C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" /t:RebuildAndDeploy /p:GXInstall="C:\Program Files (x86)\GeneXus\GXV17Beta\" /p:KbLocation="c:\GeneXusM\GeneXusM-Projects\c20ad7be-8786-461b-987d-238866f2cc65\kb"  /p:DatabaseUser="user" /p:DatabasePassword="pwd"
Microsoft (R) Build Engine version 4.7.3190.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/28/2018 12:46:40.
Project "C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" on node 1 (RebuildAndDeploy target(s)).
C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild(7,2): error MSB4102: The value "C:\Program Files (x86)\GeneXus\GXV17Beta" /p:KbLocation=c:\GeneXusM\GeneXusM-Projects\c20ad7be-8786-461b-987d-238866f2cc65\kb  /p:DatabaseUser=user /p:DatabasePassword=pwd\Genexus.Tasks.targets" of the "Project" attribute in element <Import> is invalid. Illegal characters in path.
Done Building Project "C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" (RebuildAndDeploy target(s)) -- FAILED.

Build FAILED.

"C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild" (RebuildAndDeploy target) (1) ->
  C:\GeneXusM\GeneXusM-Services\Services\BuildServer.msbuild(7,2): error MSB4102: The value "C:\Program Files (x86)\GeneXus\GXV17Beta" /p:KbLocation=c:\GeneXusM\GeneXusM-Projects\c20ad7be-8786-461b-987d-238866f2cc65\kb  /p:DatabaseUser=user /p:DatabasePassword=pwd\Genexus.Tasks.targets" of the "Project" attribute in element <Import> is invalid. Illegal characters in path.

Cause: You misconfigured field GenexusBLBasePath at file LocalSettings.json
Solution: Recheck file LocalSettings.json, especially field GenexusBLBasePath. You must not use the trailing slash, ie: "C:\\Program Files (x86)\\GeneXus\\GeneXusBeta". See sample here


System.Net.WebException: O servidor remoto retornou um erro: (500) Erro Interno do Servidor

System.Net.WebException: O servidor remoto retornou um erro: (500) Erro Interno do Servidor.
   em System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   em System.Net.WebClient.UploadData(Uri address, String method, Byte[] data)
   em System.Net.WebClient.UploadData(Uri address, Byte[] data)
   em GXServices.ProvisioningInterop.ProvisioningServices.RegisterServer(KBServerInfo info) na f:\Build\MServices\Server\GenexusServices\ProvisioningInterop\ProvisioningServices.cs:linha 82
   em GXServices.ProvisioningInterop.KeepAliveDaemon.PerformRegistration() na f:\Build\MServices\Server\GenexusServices\ProvisioningInterop\KeepAliveDaemon.cs:linha 64
ERROR: Provisioning Server not found at:http://localhost/genexusserverbeta/

Cause: GeneXus Server is not configured properly.
Solution: You need to configure a SSL Certificate in IIS for GeneXus Server. Reference:  HowTo: Setting up an SSL Certificate in IIS for GeneXus Server


Check Installation (Server - side)

 
  • Is my GeneXus Server installation correctly configured for GeneXus M?

You can test your GeneXus Server installation accessing the following URL by using a web browser: http://localhost/GeneXusServerBeta/registerkbserver.svc?wsdl

The returned result should be the service's WSDL. If it's not, please review GeneXus Server Common Issues.