Networked Workspaces and Workspace Profiles [TN]


 Product(s):Bentley Publisher and Web Explorer Lite
 Version(s):All
 Original Author:Bentley Technical Support Group

Problem

When selecting View (Publish) from the Web Explorer Lite client, the file does not publish and an error message is displayed stating either "Requested user workspace is unavailable on system" or "Requested project workspace is unavailable on system."   

Troubleshooting

The Bentley Publisher engine must have access to files pointed to by the workspace it has been configured to run with. If any configuration files in the workspace reside on a network location outside of the machine where the Web Server is installed, you will need to run the ProjectWise Web Server service using a domain account that has access to the network location where the configuration files reside.

  1. To do this:
    • Go to Start > Control Panel > Administrative Tools > Services.
    • Locate and right-click on the Bentley ProjectWise Web Server.
    • Select Properties.
    • On the Log On tab, select "This Account."
    • Enter the Domain account and password.
    • Enter the password again in the "Confirm password" field and click "OK."
  2. If you are still receiving this message after running the service as a domain account, the problem may be related to using a Workspace Profile with ProjectWise that does not specify a User Configuration File (*.ucf). Bentley Publisher by default will run MicroStation used as the Publishing Engine using the Default Workspace (default.ucf). If the location where you have pointed your workspaces does not include a default.ucf you may receive this error.
  3. To resolve this issue, copy the default.ucf from the Publishing Engine install (default: C:\Bentley\Program\BentleyPublisher\Engine\Workspace\Users\default.ucf) to the location where your custom workspace is searching for User Configuration files (ucf's are found in the directory where the variable _USTN_USER points).
  4. If you are still receiving this message after checking steps 1 and 2, you will need to debug the workspace configurations for the Bentley Publisher Publishing Engine. 

    To do this you will need to configure the publishing engine to run a MicroStation debug (see "The MSDebug File" TechNote for details about the MicroStation debug file).
    1. From a Web Browser go to the Bentley Publisher Administration Page.
    2. Go to the Workspace > Global Setting page.
    3. Under Extra Arguments as -debug.
    4. Stop and Start the Web Server.
    5. Try to publish a file. You should receive the message "engine failed to generate image/rendition file..." - this is expected because MicroStation did not generate the image due to processing the -debug command. Under the Publishing Engine there should now be an msdebug.txt file (default: C:\Bentley\Program\BentleyPublisher\Engine\MicroStation\msdebug.txt)
    6. Follow Steps 1-4 again to reset your configuration to the original settings (remove the -debug statement).

 

Problem

When selecting View (publish) from the Web Explorer Lite client, the file does not publish and an error stating something like "engine failed to generate image/rendition file..." is displayed.

 

Troubleshooting

This may be caused as a result of pointing your publishing engine install to a customized workspace configuration.

The Web Explorer Lite configuration (...\Program Files\Bentley\ProjectWise\WebServer\common\classes\global.viewers.properties), may be configured to publish DGN files as DPR files. In the PWLiteServlets.properties file (...\Program Files\Bentley\ProjectWise\WebServer\common\classes directory ) configure Bentley Publisher to publish engineering files (e.g DGN, DWG).

To do this:

  1. In a text editor open the "PWLiteServlets.properties".
  2. Set the line to BentleyPublisher.installed=true and point the bp.url=http://%servername%).

The problem is that the workspace directory is where the plot drivers are stored (Workspace\System\plotdrv). When Publisher is installed, it installs a version of MicroStation that is used as its publishing engine, it also installs a dpr.plt within that installation. When you publish a file through Bentley Publisher it uses the MicroStation Engine to plot the file using the DPR.plt plot driver - and that resulting image is then published. If you have configured Bentley Publisher so it is pointing to your existing set of workspace configurations and resources which are different than those installed with the MicroStation Publishing Engine, it is possible that the dpr.plt file does not exist within your custom workspace resources.

The solution would be to copy the DPR.plt file from the Publishing Engine workspace (default location: C:\Bentley\Program\BentleyPublisher\Engine\Workspace\System\plotdrv\dpr.plt) to the location within your custom workspace where plot drivers are located (Plot Drivers are located in the directory set by the MS_PLOTDRV variable).

See Also

Product TechNotes and FAQs

ProjectWise TechNotes And FAQs

External Links

Bentley Technical Support KnowledgeBase

Bentley LEARN Server

Comments or Corrections?

Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!