<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Issue with get-PWDocumentAuditTrailRecords</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/143585/issue-with-get-pwdocumentaudittrailrecords</link><description>Running the function on a test file and getting the following error:- 
 
 ERROR: SQL Statement failed: SELECT [o_audtno], [o_objtype], [o_objguid], [o_objno], [o_action], [o_userno], [o_acttime], [o_comments],[o_numparam1],[o_numparam2],[o_textparam]</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Issue with get-PWDocumentAuditTrailRecords</title><link>https://communities.bentley.com/thread/438113?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 20:12:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:28003c90-e8a5-42e8-8689-c101f27b9713</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;Two suggestions:&lt;/p&gt;
&lt;p&gt;1.) Make sure there is no line break within the square brackets:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;...,[o_textparam],[o_&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;guidparam], [o_username],...&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;should be :&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;...,[o_textparam],[o_&lt;/em&gt;&lt;/span&gt;&lt;span&gt;&lt;em&gt;guidparam], &lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;[o_username],..&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.) Check to make sure you don&amp;#39;t need to specify the schema in the table name&lt;em&gt;: ...FROM dms_audt ...&amp;nbsp; may need to be: ...FROM bentley.dms_audt ...&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The schema name may very depending on your installation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with get-PWDocumentAuditTrailRecords</title><link>https://communities.bentley.com/thread/436624?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 22:24:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9045c628-04c3-4709-9911-3b16942d58d4</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;This may require a conference call. Please email to schedule one. brian.flaherty@bentley.com&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with get-PWDocumentAuditTrailRecords</title><link>https://communities.bentley.com/thread/436514?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 10:02:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4eefe440-1ffc-4a2b-a4ae-a202a98c163b</guid><dc:creator>Peter Willmen</dc:creator><description>&lt;p&gt;The test script is very basic: Get-PWDocumentauditTrailRecords -FolderPath &amp;#39;Test&amp;#39; -DocumentName &amp;#39;Testfile.txt&amp;#39;&lt;/p&gt;
&lt;p&gt;I have tried it on 08.11.11.584 with an Oracle database and also on a Bentley Hosted CONNECT version running SQL Server with similar results.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color:#ff0000;font-family:Courier New;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with get-PWDocumentAuditTrailRecords</title><link>https://communities.bentley.com/thread/436313?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 17:55:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2539a2b9-1c9a-4553-a237-fe3abda39733</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;Can you provide the script you are running. Also, what version of ProjectWise? PWPS_DAB? OS? Database type and version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>