Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Work Area Connection to ProjectWise Project (PW 365)
    • Sign In

    • State Verified Answer
    • +2 person also asked this people also asked this
    • Replies 12 replies
    • Answers 2 answers
    • Subscribers 68 subscribers
    • Views 2366 views
    • Users 0 members are here

    Work Area Connection to ProjectWise Project (PW 365)

    Ranveer Basra
    Offline Ranveer Basra over 3 years ago

    Hi,

    Are other's having  any issues recently (right around when IMS 2.0 was pushed out) on new work area creation specifically around work area's associated to ProjectWise Projects (PW 365)?

    Our PowerShell script has stopped associating work area  to ProjectWise Projects. No changes to script. 

    1. The pwps_dab is updated

    2. We are running the PowerShell ISE (x86) latest updated version 

    PWPS_DAB is up to date.

     

    Import-Module PWPS_DAB -Force
    New-PWLogin
    Get-PWConnectedProjectDataLocations
     

    Get this error for all connected functions that has been tried. 

    • Sign in to reply
    • Cancel

    Top Replies

    • Dave Brumbaugh
      Offline Dave Brumbaugh Mon, Oct 5 2020 5:42 PM +1 verified
      Thanks for posting here. This is the appropriate forum to let the team know about problems. I just released version 1.23.5.0 where this reference to a deprecated web service endpoint has been fixed,…
    Parents
    • Dave Brumbaugh
      +1 Offline Dave Brumbaugh Mon, Oct 5 2020 5:42 PM

      Thanks for posting here. This is the appropriate forum to let the team know about problems. 

      I just released version 1.23.5.0 where this reference to a deprecated web service endpoint has been fixed, so your Connected Project cmdlets should be back to working.

      BTW, the syntax shown above for Get-PWConnectedProjectDataLocations will complain about a missing Token argument and should include -Token xxxx. You can get the token from Get-PWConnectionClientToken or from Get-PWNonFederatedLoginToken -CreateWebToken.

      Answer Verified By: Brian Flaherty 

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Sandeep Shetty
      0 Offline Sandeep Shetty Tue, Oct 6 2020 6:06 AM in reply to Dave Brumbaugh

      Hi Dave 

      I am getting below warning message

      PS C:\Users\xxxxx> Get-PWConnectionClientToken
      WARNING: Error loading Bentley.Bts.Utilities.AsyncBridge.dll (Can be ignored if not using DM features.)

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Dave Brumbaugh
      0 Offline Dave Brumbaugh Wed, Oct 7 2020 9:13 AM in reply to Sandeep Shetty

      Ah, sorry. You're talking about a different module from PWPS_DAB. I'll get somebody to look in to it. I believe that module is intended to be used from an Azure Run Book.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Zachary Kerr
      0 Offline Zachary Kerr Thu, Oct 8 2020 6:20 AM in reply to Sandeep Shetty

      Hey Sandeep,

      PWPS_PWDM is not required for any PWPS_DAB functionality - they are two separate, stand-alone modules.
      Which version of the Deliverables Management Connector do you have installed?

      Seeing as you have PWPS_PWDM installed anyway, what happens if you run Get-IMSTokenFromConnectionClient?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Sandeep Shetty
      0 Offline Sandeep Shetty Thu, Oct 8 2020 6:29 AM in reply to Zachary Kerr

      Hi Zachary,

      I have uninstalled the PWPS_PWDM
      I updated PWPS_DAB this morning and tried again it still gives me below warning.


      WARNING: Error loading Bentley.Bts.Utilities.AsyncBridge.dll (Can be ignored if not using DM features.)

      Tried steps provided by Brian Flaherty but no luck

      https://powerwisescripting.blog/2020/10/06/howto-create-work-area-and-connected-project/ 

      I am still getting the same warning message

      Version Name Repository Description
      ------- ---- ---------- -----------
      1.23.6.0 pwps_dab PSGallery ProjectWise PowerShell Cmdlets from System Architecture Group

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Zachary Kerr
      0 Offline Zachary Kerr Thu, Oct 8 2020 6:34 AM in reply to Sandeep Shetty

      Thanks Sandeep.
      Which version of the ProjectWise Deliverables Management Connector do you have installed?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Sandeep Shetty
      0 Offline Sandeep Shetty Thu, Oct 8 2020 6:36 AM in reply to Zachary Kerr

      10.00.02138

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Sandeep Shetty
      0 Offline Sandeep Shetty Thu, Oct 8 2020 6:36 AM in reply to Zachary Kerr

      10.00.02138

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    • Zachary Kerr
      0 Offline Zachary Kerr Thu, Oct 8 2020 6:42 AM in reply to Sandeep Shetty

      Try installing version 10.0.5.81 of the ProjectWise Deliverables Management Connector.
      An excerpt from the PWPS_DAB changelog:

      2020-02-25 Version 1.19.0.0

      General note Updated to support version 10.0.5.81 of the ProjectWise Deliverables Management Connector (most current at this time).

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies