You are currently reviewing an older revision of this page.
Last Error 342 Cannot start application for the specified document. Check your program associations. Failed to generate managed workspace configuration file. File not found.
The problem here is that the workspace was configured to copy down a file to the local workspace working directory and it is not found in Projectwise in the location it was told to look.
On the client, close out of ProjectWise Go to
(If a 32bit machine) C:\Documents andSettings\<username>\Application Data\Bentley\Logs
(If a 64bit machine)C:\Users\<username>\AppData\Local\Bentley\Logs
and delete any files found in this folder
then go to
(If a 32bit machine) c:\program files\Bentley\ProjectWise\bin
(If a 64bit machine) c:\program files (x86)\Bentley\ProjectWise\bin
and open pwc.log.xml in notepad
choose 'edit' then 'replace' and search for =“warn” andreplace with =“all”
Then do an edit find, look for the word: hook
Change the <priority value="all"/> back to“warn”
Save the file and exit
Open the pwc.log and starting from the bottom up look for the Word ERROR.
The pwc.log file will be found:
(If a 32bit machine) C:\Documents and Settings\AllUsers\Application Data\Bentley\Logs
You will see lines similar to this
ERROR [0x00000d9c]pwise.ft.dft - failed in FTnet_startFileCommand with status -11037
ERROR [0x00000d9c] pwise.ft - Error -11037 "failed to receive file from server" at func: getfile_proc line: 308
ERROR [0x00000d9c] pwise.dms - ManagedWorkspace: folder and document fetch failed.
ERROR [0x00000d9c] pwise.dms - ManagedWorkspace: configuration file generation for the document [8386, 20] failed.
ERROR [0x00000d9c] pwise.dms - Error 342 "Cannot start application for the specified document. Check your program associations.
Just up from these lines you will find a line similar to the one below which is the file projectwise is not able to download.
INFO [0x00000d9c] pwise.ft - dmsFTGetFileFromServer(0x1, 'myserver.bentley.com','c:/pwstorage/dms00123/Myfile.dgn','//Myserver/PWStorage/dms00123/Myfile.dgn',0x0)
This error line will give you the file name and the dms folder number of where the file should live
In ProjectWise Explorer find the folder and see if the file exists.
(use search builder, look for projects and folders,criterion type: general properties, property: folder ID, add the folder number to the Value: example if it is folder number dms00123, enter 123, click add criteria then apply\okay.)
If the file exists in this folder try to copy it out.
If it fails then it is likely that the file does not exist in the storage area on the server.
Go to the storage area to the dms folder to see if the file exists. If it does not exist then restore the file from backup or from a location that you are confident was the last update of the file.
Now test to see if the file and workspace open correctly.
You may need to repeat the process as there may be otherfiles that are not found.