Error opening MicroStation file from ProjectWise: File[(x86)/Bentley/PROJEC~1] does not exist


 Product(s):ProjectWise Explorer Client
 Version(s):08.11.09.109
 Environment: N/A
 Area: Integration - MicroStation
 Subarea: Open / Close / Save As
 Original Author:Molly Watts, Bentley Technical Support Group

Error or Warning Message

File[(x86)/Bentley/PROJEC~1] does not exist

Explanation

The c:\program files(x86) directory on the machine has had the 8.3 shortname removed, and ProjectWise is expecting it to be enabled.  The space in the directory is causing the error.

 

To verify that is the case open a command prompt and browse to the c: drive:

cd c:\

and then run this to find out the shortnames:

dir /x

Make sure that Program Files (x86) has the short name configured (PROGRA~2 in this example) if there is nothing there, then you risk getting this error opening MicroStation files out of ProjectWise

 

01/16/2014  02:44 PM    <DIR>          PROGRA~2     Program Files (x86)

How to Avoid

The workaround is to install ProjectWise and MicroStation in Windows directories that do not contain a space in the path.

How to Fix

The following steps are "Use at your own risk".  Enabling short names is a Microsoft process and these steps are provided as a courtesy.

Please enable 8.3 Shortnames on your system and then launch windows in safe mode. 

Open cmd window and navigate to c:\ (cd c:\):


fsutil file setshortname "Program Files" PROGRA~1

fsutil file setshortname "Program Files (x86)" PROGRA~2

fsutil file setshortname "Program Files (x86)\Bentley\ProjectWise" PROJEC~1

fsutil file setshortname "Program Files\Bentley\ProjectWise" PROJEC~1

fsutil file setshortname "Program Files (x86)\Bentley\Microstation" MICROS~1

See Also

http://communities.bentley.com/products/projectwise/content_management/b/weblog/archive/2013/09/03/windows-8-alert-file-x86-bentley-projectwise-does-not-exist.aspx

http://support.microsoft.com/kb/121007 ("Note: Although disabling 8.3 name creation increases file performance under Windows, some applications (16-bit, 32-bit, or 64-bit) may not be able to find files and directories with long filenames.")