<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: May 2020 release - single quotes in path cause errors in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2683371#M25152</link>
    <description>&lt;P&gt;I'm not sure if this has changed recently. But the UI in the May 2022 release blocks me from attempting to create folders with a ' in the name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would suggest that you might need to consider renaming these folders to remove the apostrophe&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 06:29:03 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2022-08-05T06:29:03Z</dc:date>
    <item>
      <title>May 2020 release - single quotes in path cause errors</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2682675#M25145</link>
      <description>&lt;P&gt;We just upgraded one of our test servers to the May 2020 PBIRS release.&amp;nbsp; After the upgrade, navigating to item paths where the folder has a single quote (apostrophe) in the folder name fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report Server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Microsoft Power BI Report Server Version 15.0.1108.297&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SQL Server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Microsoft SQL Server 2016 (SP3-CU1-GDR) (KB5015371) - 13.0.7016.1 (X64)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;May 21 2022 01:00:03&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Copyright (c) Microsoft Corporation&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Developer Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 &amp;lt;X64&amp;gt; (Build 9600: )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue Example:&lt;/P&gt;&lt;P&gt;Navigating to a path with the folder name "Cashier's Office" fails with an error -&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Could not load folder contents&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The folder “ecuBIC/Finance/Cashier's Office” does not exist. It could have been renamed, moved, or deleted.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the RS log files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2022-08-04 11:23:09.4162|INFO|27|Received request GET /api/v2.0/CatalogItems(Path='/ecuBIC/Finance/Cashier''s%20Office')| RequestID = s_3bd7a21b-1114-4602-bd5b-614bce15fa78 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2022-08-04 11:23:09.4162|ERROR|27|library|Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ecuBIC/Finance/Cashier''s Office' cannot be found.;| RequestID = s_3bd7a21b-1114-4602-bd5b-614bce15fa78&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Querying the REST API from Powershell reproduces the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS&amp;gt; invoke-restmethod "&lt;A href="https://xxServer.domainxx/reports/api/v2.0/CatalogItems(path='/ecuBIC/Finance/Cashier''s" target="_blank" rel="noopener"&gt;https://xxServer.domainxx/reports/api/v2.0/CatalogItems(path='/ecuBIC/Finance/Cashier''s&lt;/A&gt; Office')" -usedefaultcredentials&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Invoke-RestMethod: {"error":{"code":"2","message":"The item '/ecuBIC/Finance/Cashier''s Office' cannot be found."}}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the "'" was being escaped in the path using another single quote. Removing the escaping character allowed the call to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS&amp;gt; invoke-restmethod "&lt;A href="https://xxServer.domainxx/reports/api/v2.0/CatalogItems(path='/ecuBIC/Finance/Cashier's" target="_blank" rel="noopener"&gt;https://xxServer.domainxx/reports/api/v2.0/CatalogItems(path='/ecuBIC/Finance/Cashier's&lt;/A&gt; Office')" -usedefaultcredentials&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;@odata.type : #Model.Folder&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Id : dbd53268-0d91-447c-8602-4a9fd53f4ad6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Name : Cashier's Office&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Description :&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Path : /ecuBIC/Finance/Cashier's Office&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Type : Folder&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Hidden : False&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Size : 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ModifiedBy : xxxxxxxxxxxxxxxx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ModifiedDate : 4/26/2022 9:23:22 AM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CreatedBy : xxxxxxxxxxxxxxxxxxx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CreatedDate : 5/11/2012 11:49:17 AM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ParentFolderId : 9983e89e-5b09-452f-87c9-a31cd9395ddb&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;IsFavorite : False&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ContentType :&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Content :&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Roles : {}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This appears to be similar to an issue from 2017:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Issues/Apostrophe-in-Folder-Name-Causes-Menu-Failure/idi-p/304933" target="_self"&gt;https://community.powerbi.com/t5/Issues/Apostrophe-in-Folder-Name-Causes-Menu-Failure/idi-p/304933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We do not experience this issue on our current production server: Microsoft Power BI Report Server Version 15.0.1108.159&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is anyone else experiencing this issue?&lt;/LI&gt;&lt;LI&gt;Is this a known issue with the May 2022 release?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 20:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2682675#M25145</guid>
      <dc:creator>graymc</dc:creator>
      <dc:date>2022-08-04T20:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: May 2020 release - single quotes in path cause errors</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2683371#M25152</link>
      <description>&lt;P&gt;I'm not sure if this has changed recently. But the UI in the May 2022 release blocks me from attempting to create folders with a ' in the name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would suggest that you might need to consider renaming these folders to remove the apostrophe&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 06:29:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2683371#M25152</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-08-05T06:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: May 2020 release - single quotes in path cause errors</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2684153#M25160</link>
      <description>&lt;P&gt;Ah, thanks.&amp;nbsp; I hadn't thought to test that yet.&amp;nbsp; Our current production server blocks those too.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 12:24:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/May-2020-release-single-quotes-in-path-cause-errors/m-p/2684153#M25160</guid>
      <dc:creator>graymc</dc:creator>
      <dc:date>2022-08-05T12:24:23Z</dc:date>
    </item>
  </channel>
</rss>

