<?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: Power BI Custom Visual - Access to index.html denied in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/2223832#M33321</link>
    <description>&lt;P&gt;Not as far as I know. I haven't been able to test, but I had a theory that it was the XML package version (was impossible to install the supported version, so it defaulted to the newest). I was able to patch it out with xml2 (possible to install supported version), submit the changes, and the official repo now uses xml2 as of July. Are you using a fresh/recent install of the visual tools? If you are and XML is nowhere to be seen in your installed packages, then that's insanely discouraging and the problem is elsewhere. I did speak w/ an official Power BI rep a few weeks ago who seemed confident that it is most likely an unsupported package version.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 21:11:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-12-06T21:11:40Z</dc:date>
    <item>
      <title>Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1483312#M26403</link>
      <description>&lt;P&gt;&lt;SPAN class="message"&gt;I recently picked up the Power BI visual tools and endeavored to make rhtml based visual using Plotly's scatter3d plot. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="message"&gt;It runs fine in desktop, however when published to service, I get a Script Runtime Error that states: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="message"&gt;"Error in shell.exec(url) : access to 'C:\Users\Client\Temp\Rtmpiq9ma9\viewhtml1c4ec52b5b/index.html' denied"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="message"&gt;Obviously, the mixed-up forward and back slashes could be the source of the problem here, but I have 0 ideas for how to go about fixing it. I've only touched the script.r, capabilities.json, dependencies.json, and pbiviz.json files so far. I've only installed package versions supported by Power BI and I am using MS R Open. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="message"&gt;Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 20:11:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1483312#M26403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-09T20:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1483773#M26405</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's a powerbi custom visual by r in html, there is a file named [&lt;STRONG&gt;flatten_HTML.r&lt;/STRONG&gt;] in the repo,&amp;nbsp;you can check whether the code in it may cause inconsistency of forward and backward slashes. Maybe the problem lies in this file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Mark this post as solution if this helps, thanks!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 02:26:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1483773#M26405</guid>
      <dc:creator>DavisBI</dc:creator>
      <dc:date>2020-11-10T02:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1485400#M26410</link>
      <description>&lt;P&gt;After poring over it for a bit, it doesn't look like the flatten_HTML file is the culprit, but it's hard to be sure. If it was, I guess there'd be at least a few dozen people with the same problem since it's from the MS repo.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 16:13:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1485400#M26410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-10T16:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1524737#M26635</link>
      <description>&lt;P&gt;Not 100% sure, but I think the issue is a matter of package version compatibility. Unfortunately, XML is orphaned and installing older versions of it is &lt;EM&gt;hard&lt;/EM&gt;. I solved it by migrating the rhtml visual from XML to xml2. There is a &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/pull/342" target="_self"&gt;PR&lt;/A&gt; on the official MS Powerbi-Visual-Tools repo that has the modified flatten_HTML and dependencies.json files if anyone struggles with XML in the future. Feel free to comment on it and encourage the repo maintainers to review and merge it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: To clarify, in my original post, I had installed the correct versions of packages I was &lt;EM&gt;explicitly&lt;/EM&gt; using. XML is used to save the widget out into a Power BI compatible file, but installing versions besides the current release on Windows is bad. I spent about 12 hours total on it and tried 3 different methods - 2 almost worked, making it past the make phase and erroring out just past R's lazy load stage.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 18:34:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/1524737#M26635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-30T18:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/2223806#M33320</link>
      <description>&lt;P&gt;Is this issue resolved? I am having the same issues are mentioned in the original post. The Rhtml visual works fine in Power BI Desktop but it breaks when used in Power BI cloud/service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the same error mentioned above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR ; "&lt;SPAN&gt;Error in shell.exec(url) : access to 'C:\Users\................../index.html' denied"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 21:00:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/2223806#M33320</guid>
      <dc:creator>asharma2407</dc:creator>
      <dc:date>2021-12-06T21:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/2223832#M33321</link>
      <description>&lt;P&gt;Not as far as I know. I haven't been able to test, but I had a theory that it was the XML package version (was impossible to install the supported version, so it defaulted to the newest). I was able to patch it out with xml2 (possible to install supported version), submit the changes, and the official repo now uses xml2 as of July. Are you using a fresh/recent install of the visual tools? If you are and XML is nowhere to be seen in your installed packages, then that's insanely discouraging and the problem is elsewhere. I did speak w/ an official Power BI rep a few weeks ago who seemed confident that it is most likely an unsupported package version.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 21:11:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/2223832#M33321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-06T21:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/3481739#M44971</link>
      <description>&lt;P&gt;I know this is an ancient thread, but has anyone found a solve for this issue? I am in the same exact situation, any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 18:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/3481739#M44971</guid>
      <dc:creator>SmithCham</dc:creator>
      <dc:date>2023-10-17T18:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Custom Visual - Access to index.html denied</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/3481783#M44974</link>
      <description>&lt;P&gt;It's been a *long* time, but I think my theory was right and I've marked it as the solution. The culprit was indeed the version of the XML package. The patch I submitted to switch to xml2 was merged in the summer of 2021 &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/pull/342" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-visuals-tools/pull/342&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There may now be a similar problem with the rhtml dependencies elsewhere as indicated by this PR: &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/pull/488" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-visuals-tools/pull/488&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I woud scrutinize what packages you have installed in your project and compare them to the supported versions in the Power BI Service: &lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/service-r-packages-support" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/connect-data/service-r-packages-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My XML package was one minor release higher than what was supported at the time IIRC&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you find that you have a package that isn't supported or a version that's too high, you'll need to remove and find a supported alternative or downgrade it respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can't, then I would either contact Power BI support or make an issue on github and attach a minimum-reproducible example so that the maintainers can quickly find the problem (help them help you).&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 18:59:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Custom-Visual-Access-to-index-html-denied/m-p/3481783#M44974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-17T18:59:54Z</dc:date>
    </item>
  </channel>
</rss>

