workspace window could not be created

Hi,

I am getting this error message whenever I open a page on citect during runtime. 

A workspace window could not be created. Either maximum number of workspace...

Anyone got this error before?

TIA

  • It appears that Workspace failed to initialize. Maybe your project has run out the number of windows (in this case, WinNumber() returns -1). Take a look at kernel window - Page Table Page, and confirm if there are any duplicated pages.

    Try to increase the following parameter in Citect.ini file. By default, it is 50, which should be enough for most projects. If the error persists, you should inspect the workspace layout and associated pages with proper levels in your project.

    [Page]Windows

  • Hi Mark,

    The workspace code is hard-coded to a maximum of 20 workspaces (top level windows), 1 per monitor. I would be surprised if you hit that level. Looking at the workspace code, it is more than likely you have exhausted the default setting of [Page]Windows as Jacky mentioned (default is 50, max is 200). As Workspaces are comprised of lots of 'pinned' windows you can reach that 50 quickly depending upon how complex your master page layout is, and/or the number of monitors you are targeting.

    Check your client syslog as that will outline more specifically the problem. You may need to set the UserTraceMode value to 3 to capture info messages. If you have used the SA starter project, the UserTraceMode parameter is set in the project itself - see Parameters view.

    bradley