GXwiki6 Troubleshooting

Some errors you may get when building or deploying a GXwiki environment.

Build error on WikiMasterPage Object

When executing a Rebuild all an error occurs on the WikiMasterPage Masterpage object:

JSTree1.RootId unknown property

Please review the "Setup information" document in the KB; the jsTree User Control is not installed.

Cannot Edit Pages

When trying to edit a page, the CKEditor control is not displayed and the following error is detailed on the browser javascript console

Failed to load resource: the server responded with a status of 404 (Not Found)
Uncaught Error: [CKEDITOR.resourceManager.load] Resource name "autosave" was not found at

Please review the "Setup information" document in the KB; the CKEditor plugins were not installed.

Fail creating AdministratorUser (Username not available, use another one)

When executing any object the following error appears:

Fail creating AdministratorUser (Username not available, use another one)

Make sure to create the database from scratch and then execute the hgxwiki WebPanel to initialize for first time the database.

Cannot Index Pages

When saving any page the following error appears, for example for C# environment:

[UnauthorizedAccessException]: Access to path “c:\kbname\CSharpModel\LuceneIndex” is denied。
   on System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   on System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   on System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   on System.IO.Directory.CreateDirectory(String path)
   on GeneXus.Search.Settings..ctor()
   on GeneXus.Search.Settings..cctor()

You need full control trust to the Index folder; you can change the "Full text search options | Index directory" generator property to another folder or change rights to the default folder.

You can manually change the LUCENE_INDEX_DIRECTORY entry for the web.config file; notice the next time you deploy your application you may need to redo this modification. For example:

<add key="LUCENE_INDEX_DIRECTORY" value="C:\temp\LuceneIndex" />