Product(s): | ProjectWise Explorer Client | ||
Version(s): | 08.11.11.559 | ||
Area: | Integration - AutoCAD | ||
Subarea: | Open / Close / Save As | ||
Original Author: | Dana Guthrie, Bentley Technical Support Group |
Error or Warning Message
Last Error [50002] Cannot start application for the specified document. Check your program associations. Invalid parameter passed to the API function.
Explanation
When the user tries to open a dwg file from Projectwise, AutoCAD opens with a blank document and then throws error 50002
How to Avoid
Option 1 Remove run as administrator switch
On ths users system, in Windows explorer, Go to the autocad.exe file, right mouse click properties, Compatibility tab, uncheck "run this program as an administrator."
Note: even if this switch is turned off, there could be third party applications installed that elevate privledges that lead to the same problem. To test for this, open ProjectWise with elevated permissions (browse to pwc.exe and right click-run as administrator) to see if the error still occurs. (PW needs to be at the same privledge level as the application you are opening)
Option 2 Check program associations.
- Check the windows program associations to make sure AutoCAD is associated to DWG
- On the client machine, in Projectwise, logged in as the user, go to tools \ associations, programs, change to 'user associations', scroll to AutoCAD and expand the open command, remove any associations, click save and close
Option 3 Make sure Projectwise integration is properly installed.
- Open AutoCAD from the desktop, then file open, you should be prompted to login to Projectwise, browse to a file and open it. Check that the Projectwise ribbon is available and all items are functional
- Go to add remove program, remove Projectwise explorer, run a repair\reinstall on AutoCAD, then reinstall Projectwise explorer.
See Also
Cannot Start application... Blog
Word or Excel opens as a blank document or error 50002 or 112173