Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

"Cannot open workspace - "Options.Global.XML" - ** XML load/parser error " error message is produced when trying to open a workspace or trying to use workspace related Administrator tools. How can this be fixed?

"Cannot open workspace - "Options.Global.XML" - ** XML load/parser error " error message is produced when trying to open a workspace or trying to use workspace related Administrator tools. How can this be fixed?

Problem

"Cannot open workspace - "Options.Global.XML" - ** XML load/parser error "  error message is produced when try ing to open a workspace or trying to use workspace related Administrator tools.

How can this be fixed?

Resolution

The full error message received is in the following format..

------------------------------------------------------------------------------

Cannot open the workspace d:\workspaces\TESTWS.rwp

d:\workspaces\Options.Global.XML  ** WML load / paser error.

The system cannot locate the object specified

Line: 0

-----------------------------------------------------------------------------

 

The usual cause of this error is the mismatch of the following..

1. The contents of the <workspace>.RWP file

    - The .RWP file created , contains 2 entries as follows:

       <property name="user-directory" value="D:\workspaces\TESTWS"/ >

       <property-name="server-directory" value="D:\workspaces\TESTWS"/>

 

2. The contents of the "workspacesettings" table in the repository/database.

    - In the repository/database "workspacesettings" table, the create workspace process inserts a row with the details     "Name"='WorkspaceDIr' and "Value"='D:\workspaces\TESTWS'

 

3. Physical Location of the Options.Global.XML file.

    - When creating a workspace, TESTWS, the TESTWS.RWP file will be created in the default workspace directory "D:\workspaces\".

    - The corresponding workspace directory structure is placed in a directory called "TESTWS", in the same default directory "D:\workspaces\". The workspace directory structure will be placed in a new directory called "D:\workspaces\TESTWS".

 

When the "Create Workspace" process is completed, the database/repository table "workspacesettings", the .RWP file content and the physical location of the Options.Global.XML, will all be aligned.

 

In a recent example, the customer had used the "Refresh Workspace Path" option in the Enterprise Analyzer Administrator tool.  Unfortunately they had entered an incorrect directory path, which will corrupt the entry in the database/repository table "workspacesettings".

For example: the entry should have been "D:\workspaces\TESTWS", but the customer had entered "D:\workspaces". This meant that the entry in the database/repository table "workspacesettings" was incorrectly set to "D:\workspaces".

This means that when the workspace is opened, the RWP file is found and opened correctly, but when the  database/repository table "workspacesettings" is accessed,  the "WorkspaceDir" entry, which is used to find the workspace directory structure, is actually pointing to an incorrect directory and the process cannot find the Options.Global.XML file.  This is when the failure occurs.

 

The only way to solve this the database/repository table "workspacesettings", is to amend the value manually.

 

 MS SQL Server / Express

NOTE : Use SQL Server Management Studio to connect to the correct database  (with a user who has the necessary access), then use the following statements..

 

update dbo.workspacesettings

set "Value"='D:\workspaces\TESTWS' where "Name" = 'Workspace.dir";

Commit;


 

ORACLE

NOTE : Use SQLPLUS to connect to the correct database/repository (with a user who has the necessary access), use the following statements..

 

update workspacesettings

set "Value"='D:\workspaces\TESTWS' where "Name" = 'Workspace.dir";

Commit;

 

 

Do NOT use the "Refresh Workspace Path"  to try to correct this error, as it will only result in the same error. This is because the "Refresh Workspace Path" performs the same validation as the "open workspace" process.

 

Incident#2693414

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2014-04-22 11:23
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.