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
↧