Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Error Checking In Document
    • Sign In

    • State Suggested Answer
    • Replies 10 replies
    • Answers 1 answer
    • Subscribers 63 subscribers
    • Views 2312 views
    • Users 0 members are here

    Error Checking In Document

    Matt Kovach
    Offline Matt Kovach over 1 year ago

    Good morning ProjectWise Community,

    Has anyone seen the following error when trying to check in a Bentley Design File (OpenRoads Designer Civil Content-based File, more specifically)?:

    I've enabled Logging for ProjectWise Explorer, but don't see anything helpful in the way of explaining what is causing this to happen or why.

    Some of the details

    • Operating System:  Windows 10 Pro (64-bit)
    • ProjectWise Explorer Version:  10.00.03.453
    • ProjectWise Design Integration Version (Bentley-hosted):  10.00.03.280
    • Bentley Civil Program:  OpenRoads Designer CONNECT Edition, Version 10.10.01.03 (2021 Release 1)
    • Is a Connected Project:  Yes
    • File Contains References:  Yes
    • File Contains Civil Content:  Yes
    • Civil Content Types:  Alignments, Profiles, Corridor
    • Sign in to reply
    • Cancel

    Top Replies

    • Matt Kovach
      Offline Matt Kovach Wed, May 25 2022 8:35 AM +2
      UPDATE: After several hours of testing multiple data sets from multiple computers, it would appear that the culprit for this uninformative message (and error) is active/opened Dynamic Cross Section…
    • Kevin van Haaren
      Offline Kevin van Haaren Tue, May 10 2022 6:08 PM in reply to Matt Kovach +1
      Does this happen to all files you have checked out or just the one? Can you copy new files in? There is a little bit of an art to reading log files, you can't just look at the last few errors and see…
    • Matt Kovach
      Offline Matt Kovach Wed, May 25 2022 10:54 AM in reply to Kevin van Haaren +1
      Yes sir.
    Parents
    • Kevin van Haaren
      0 Offline Kevin van Haaren Mon, May 9 2022 6:41 PM

      What does logging show? I'd check your pwc.log.xml file and make sure the following settings are set to 'all', then try and check in your document.

      Just in case I'd also make a copy your document to your desktop or something so you have a backup.

          <!-- Messages related to file transfer operations (dmsft.dll). -->
          <category name="pwise.ft">                 <priority value="all"/></category>
      
          <!-- Messages related to ProjectWise DFT file transfer operations. -->
          <category name="pwise.ft.dft">              <priority value="all"/></category>
      
          <!-- Messages related to remote host name resolution. -->
          <category name="pwise.dns">                 <priority value="all"/></category>
          <category name="pwise.dns.cache">           <priority value="all"/></category>
          <category name="pwise.dns.local">           <priority value="all"/></category>
      
          <!-- Messages related to server discovery and connections. -->
          <category name="pwise.netapi.discovery">    <priority value="all"/></category>
          <category name="pwise.netapi.routecache">   <priority value="all"/></category>
      
      

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Matt Kovach
      0 Offline Matt Kovach Tue, May 10 2022 8:39 AM in reply to Kevin van Haaren

      Kevin,

      I'm seeing a variety errors in the pwc.log File:

      • 2022-05-06 16:43:53,007 ERROR [0x0000bca4] pwise.socket - Error -10054 on socket 2412 at func: socket_sendData line: 1378
      • 2022-05-06 16:43:53,007 ERROR [0x0000bca4] pwise.netapi - Error -11502 "failed to send client request" reported at func: request_sendClientRequest2 line: 621
      • 2022-05-06 16:46:25,348 ERROR [0x0000bca4] pwise.dms - Request 6400 return code 20188. Response size: 0

      To me, these say nothing to aid in determining what causes the error/issue.

      I'm also seeing these errors in the mcmintgr.log File:

      • 2022-05-06 15:26:30,148|ERROR|0x0000c278|pwise.dms|Request 7800 return code -11702. Response size: 0
      • 2022-05-06 15:26:32,860|ERROR|0x0000c278|pwise.MCM.DmsUtil|MCMDMSUtil::GetProjectInfoFromPathString @ e:\Builds\pw100003453\Source\dms\integration\ustation\mcm\v1000\mcmdmsutil.cpp:567 - Failed to find the file C:\FDOTConnect10.10\. Project information could not be retrieved!
      • 2022-05-06 15:26:32,873|ERROR|0x0000c278|pwise.MCM|pwims::GetExpandedCfgVar @ e:\Builds\pw100003453\Source\dms\integration\ustation\common\v9\CfgVarUtils.cpp:69 - Invalid parameter passed to function.

      The bolded line item makes no sense. The C:\FDOTConnect10.10\ path is the root of the WorkSpace Path (not managed) and DOES exist. So, it should have found it. Not sure what "Project information" that it is trying to retrieve and from where (i.e. which variable).

      ProjectWise Explorer CONNECT Edition, Version 10.00.03.453

      ProjectWise Drive, Version 2022.1.328

      OpenRoads Designer CONNECT Edition, Version 10.09.00.91

      OpenRoads Designer CE 202 Release 2, Version 10.10.21.4

      Power GEOPAK V8i (SELECTseries 10), Version 08.11.09.918

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Matt Kovach
      0 Offline Matt Kovach Tue, May 10 2022 8:39 AM in reply to Kevin van Haaren

      Kevin,

      I'm seeing a variety errors in the pwc.log File:

      • 2022-05-06 16:43:53,007 ERROR [0x0000bca4] pwise.socket - Error -10054 on socket 2412 at func: socket_sendData line: 1378
      • 2022-05-06 16:43:53,007 ERROR [0x0000bca4] pwise.netapi - Error -11502 "failed to send client request" reported at func: request_sendClientRequest2 line: 621
      • 2022-05-06 16:46:25,348 ERROR [0x0000bca4] pwise.dms - Request 6400 return code 20188. Response size: 0

      To me, these say nothing to aid in determining what causes the error/issue.

      I'm also seeing these errors in the mcmintgr.log File:

      • 2022-05-06 15:26:30,148|ERROR|0x0000c278|pwise.dms|Request 7800 return code -11702. Response size: 0
      • 2022-05-06 15:26:32,860|ERROR|0x0000c278|pwise.MCM.DmsUtil|MCMDMSUtil::GetProjectInfoFromPathString @ e:\Builds\pw100003453\Source\dms\integration\ustation\mcm\v1000\mcmdmsutil.cpp:567 - Failed to find the file C:\FDOTConnect10.10\. Project information could not be retrieved!
      • 2022-05-06 15:26:32,873|ERROR|0x0000c278|pwise.MCM|pwims::GetExpandedCfgVar @ e:\Builds\pw100003453\Source\dms\integration\ustation\common\v9\CfgVarUtils.cpp:69 - Invalid parameter passed to function.

      The bolded line item makes no sense. The C:\FDOTConnect10.10\ path is the root of the WorkSpace Path (not managed) and DOES exist. So, it should have found it. Not sure what "Project information" that it is trying to retrieve and from where (i.e. which variable).

      ProjectWise Explorer CONNECT Edition, Version 10.00.03.453

      ProjectWise Drive, Version 2022.1.328

      OpenRoads Designer CONNECT Edition, Version 10.09.00.91

      OpenRoads Designer CE 202 Release 2, Version 10.10.21.4

      Power GEOPAK V8i (SELECTseries 10), Version 08.11.09.918

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    • Kevin van Haaren
      0 Offline Kevin van Haaren Tue, May 10 2022 6:08 PM in reply to Matt Kovach

      Does this happen to all files you have checked out or just the one? Can you copy new files in?

      There is a little bit of an art to reading log files, you can't just look at the last few errors and see what is happening, and frequently you need to increase the logging information so you can see what was happening before the error itself occured.

      The format of the log file (for pwc.log) is

      Date/Time MessageLevel [ThreadNum] category - message

      you can use the thread number to follow back the actions that were tied to a particular error. The category is useful for identifying which section of PW the problem is in.

      I've found the pwise.netapi messages to be impossible to read/understand so day to day i keep that at the Fatal level. I'll lower it if i've nothing else to look at or want to send it to bentley.

      pwise.socket category is good if you thing there is a network problem, but you need to run it at the info level to see what it was attempting to do on the network when the error occurred. the info level will tell you which server it was attempting to connect to and the port it was using, and how far into the transaction it got.

      I set the pwise.database level to info so i can see the exact database queries that are being sent and if they succeeded.

      In order to generate a more readable log file, I will:

      • Close projectwise
      • adjust log levels in the pwc.log.xml file
      • delete the pwc.log file
      • Open Projectwise
      • do the exact actions that cause the problem, so here check out a file, draw some lines, close ORD, check in the file.
      • close projectwise
      • open the pwc.log file, go to the end and start tracing backwards to find what was happening before the error occurred

       

      • Cancel
      • Vote Up +1 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Matt Kovach
      0 Offline Matt Kovach Wed, May 11 2022 11:03 AM in reply to Kevin van Haaren

      Thank you Kevin! This is a good share.

      As for the workflow I used to enable logging and capture relevant information, I performed the steps just as you have described, except for deleting the log file before the user opened/worked in their Bentley Design File, since the issue is not reproduceable on demand. I did, however, delete existing log files after turning up the logging. So, the user started from a clean-ish slate (it didn't take too much time for the error to rear its ugly head again).

      ProjectWise Explorer CONNECT Edition, Version 10.00.03.453

      ProjectWise Drive, Version 2022.1.328

      OpenRoads Designer CONNECT Edition, Version 10.09.00.91

      OpenRoads Designer CE 202 Release 2, Version 10.10.21.4

      Power GEOPAK V8i (SELECTseries 10), Version 08.11.09.918

      • 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