Product(s) and Version(s):
ProjectWise Web View.
Problem:
Failure to open ProjectWise Web View connections with the error message ‘Internal server error’
When opening ProjectWise Web View connections in the datasource, the following error message occurs:
“500 Internal Server error.
Refresh and try again in 15 minutes. If this continues to happen, contact your ProjectWise Administrator.
External component has thrown an exception.”
Trouble shooting steps:
Open the Bentley Web Services Gateway URL from any browser.
On the Web Services Gateway server machine, the URL is: ,
https://localhost/ws
On the local client machine (i.e. outside the server machine), the URL would be:,
https://<server_name>/ws
Where <server_name> is the name of the computer where Bentley Web Services Gateway is installed (for example, pwvm.bentley.com), and ws is the name you gave to the virtual directory when you deployed Bentley Web Services Gateway.
Example: https://pwvm.bentley.com/ws
If ProjectWise is hosted by Bentley, the WSG URL would look like this,
https://abcd-pw.bentley.com/ws
Where abcd-pw.bentley.com is the ProjectWise FQDN.
Click on API Explorer or Web API Explorer (Deprecated), whichever is present on the UI.
Expand Repositories
Click on any datasource
Enter the required ProjectWise credentials
It will generate an error message ‘500 Internal server error’
Same error message is displayed in the Console tab of the Developer Tools window. The Console tab of Developer tools window can be accessed by using the shortcut Ctrl + Shift + J on Chrome or Edge browser.
Solution:
This error happens because of mismatch versions of ProjectWise Explorer and PW Plugin for Web Services Gateway. The versions of PW Plugin for WSG 10.03.05.17 and 02.06.13.03 (latest at the time of writing this post) require ProjectWise Explorer 10.00.03.336 to be installed on the WSG server machine.
It may be necessary to un-deploy and re-deploy the Web Services Gateway after proper installations to make it work.
Also, refer to the note in the “Deploying the ProjectWise Plug-in for Bentley Web Services Gateway” section of the ProjectWise Implementation Guide:
ProjectWise Implementation Guide can be found in the following link,