<?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: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/3737540#M33263</link>
    <description>&lt;P&gt;Hi, where in exactly you found the error? I have also implemented a custom authentication measure but I do not know where is the error coming from.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help!&lt;/P&gt;</description>
    <pubDate>Sat, 02 Mar 2024 10:14:41 GMT</pubDate>
    <dc:creator>hellodfkh</dc:creator>
    <dc:date>2024-03-02T10:14:41Z</dc:date>
    <item>
      <title>Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696438#M10411</link>
      <description>I have configured the Power BI report server with custom authentication and I am able to browser reports and upload reports from Desktop version and optimised dektop version from the web url.&lt;BR /&gt;But when I try to connect or save as to report server from the optimised desktop version (Jan 2019), I always the error "Unexpected error encountered". I have seen the log files and below is the error message(s).&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;I am also getting the same error when I am trying to edit the report from browser and opening it in the optimised desktop version for power bi server.&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;I am using the latest version of Power BI report server, desktop version and optimised desktop version.&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;Can somebody please help me on this as I am really struggling to understand, why it is unathorised.&lt;BR /&gt;&amp;amp;nbsp;&lt;BR /&gt;2019-05-22 00:11:35.4527|INFO|40|Sending response. Response code 401, Elapsed time 0:00:00.0001283| RequestID = s_6a077791-e4b6-4df6-b500-43388022ec3f&lt;BR /&gt;2019-05-22 00:11:51.3842|INFO|39|Received request GET | RequestID = s_bd226fee-61d0-4053-8cc6-57c312b2f743&lt;BR /&gt;2019-05-22 00:11:57.0293|INFO|40|Received request GET /api/v2.0/ServiceState| RequestID = s_dd68be34-263b-4cfa-990f-b02ccfc1814d&lt;BR /&gt;2019-05-22 00:11:57.0293|INFO|40|Sending response. Response code 401, Elapsed time 0:00:00.0001742| RequestID = s_dd68be34-263b-4cfa-990f-b02ccfc1814d&lt;BR /&gt;2019-05-22 00:11:57.2474|INFO|40|Received request GET /api/v2.0/ServiceState| RequestID = s_be9aeee1-19b2-4411-84e8-457d8f0e38fb&lt;BR /&gt;2019-05-22 00:11:57.2474|INFO|40|Sending response. Response code 401, Elapsed time 0:00:00.0001366| RequestID = s_be9aeee1-19b2-4411-84e8-457d8f0e38fb&lt;BR /&gt;2019-05-22 00:18:16.8672|INFO|42|Received request GET /api/v2.0/ServiceState| RequestID = s_0ef6cbe1-2aaa-4eef-bb5b-09d6e690b82c&lt;BR /&gt;2019-05-22 00:18:16.8672|INFO|42|Sending response. Response code 401, Elapsed time 0:00:00.0002326| RequestID = s_0ef6cbe1-2aaa-4eef-bb5b-09d6e690b82c</description>
      <pubDate>Wed, 22 May 2019 06:48:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696438#M10411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T06:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696738#M10423</link>
      <description>&lt;P&gt;It's probably something in your custom authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does your custom authentication work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens when you attempt to hit one of the urls PBI desktop is attempting to connect to like &lt;A href="http://localhost/reports/api/v2.0/ServiceState" target="_blank"&gt;http://&amp;lt;servername&amp;gt;/reports/api/v2.0/ServiceState&lt;/A&gt;&amp;nbsp;Does it return a json response or a 401 error or does it prompt for a username and password?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 06:48:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696738#M10423</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-05-22T06:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696891#M10426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. After using the API service state url I am getting a pop up window to enter user id and password. Once I enetered the credentials I get the below error message.&lt;/P&gt;&lt;H1&gt;&lt;SPAN&gt;This page isn’t working&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;If the problem continues, contact the site owner.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="error-code"&gt;HTTP ERROR 401&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 May 2019 08:13:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/696891#M10426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/697129#M10427</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. After using the API service state url I am getting a pop up window to enter user id and password. Once I enetered the credentials I get the below error message.&lt;/P&gt;&lt;H1&gt;&lt;SPAN&gt;This page isn’t working&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;If the problem continues, contact the site owner.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="error-code"&gt;HTTP ERROR 401&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So I can think of 2 possible issues here. One is that I'm not sure if Power BI Desktop will have the facility to be able to trigger an authentication pop up. The second is that there seems to be some other issue even when you do enter the credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can try temporarily switching back to Windows auth? This will allow you to confirm that this API is working properly in your environment. If you can confirm that this api call works without your custom authentication then we know definitively that this is the issue and then you'll need to debug the code for the custom auth to figure out the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 11:01:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/697129#M10427</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-05-22T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/769585#M11324</link>
      <description>&lt;P&gt;The problem was in the code itself in the logon page of the custom authentication. Thank you for the suggestions, it helped me on my solution.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:45:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/769585#M11324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T08:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/943361#M13161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-MESSAGE title="Re: Computing rollup weighted sum" uid="650105" url="https://community.powerbi.com/t5/Desktop/Computing-rollup-weighted-sum/m-p/650105#U650105" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have exactly the same error, when typing "http://&amp;lt;servername&amp;gt;/reports/api/v2.0/ServiceState" you suggested I got a JSON response. What does this mean?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 19:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/943361#M13161</guid>
      <dc:creator>torontow</dc:creator>
      <dc:date>2020-02-21T19:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/971236#M13433</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wondering if you managed to find a solution to this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 17:43:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/971236#M13433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-12T17:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Error Power BI report Server  With Desktop While Connecting/Save As</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/3737540#M33263</link>
      <description>&lt;P&gt;Hi, where in exactly you found the error? I have also implemented a custom authentication measure but I do not know where is the error coming from.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 10:14:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-Error-Power-BI-report-Server-With-Desktop-While/m-p/3737540#M33263</guid>
      <dc:creator>hellodfkh</dc:creator>
      <dc:date>2024-03-02T10:14:41Z</dc:date>
    </item>
  </channel>
</rss>

