<?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 Unable to connect server when embedding SAS report to web page in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-connect-server-when-embedding-SAS-report-to-web-page/m-p/947244#M18397</link>
    <description>&lt;P&gt;Unable to connect server when embedding SAS report to web page&lt;/P&gt;&lt;P&gt;When embedding SAS Viya reports, the words "unable log on server" always appear, CORS has been adjusted by adding a web domain. Are there any missed steps?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error sas.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101169i9CFE761BF9E38F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="error sas.png" alt="error sas.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Oct 2024 07:17:39 GMT</pubDate>
    <dc:creator>yanti</dc:creator>
    <dc:date>2024-10-13T07:17:39Z</dc:date>
    <item>
      <title>Unable to connect server when embedding SAS report to web page</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-connect-server-when-embedding-SAS-report-to-web-page/m-p/947244#M18397</link>
      <description>&lt;P&gt;Unable to connect server when embedding SAS report to web page&lt;/P&gt;&lt;P&gt;When embedding SAS Viya reports, the words "unable log on server" always appear, CORS has been adjusted by adding a web domain. Are there any missed steps?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error sas.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101169i9CFE761BF9E38F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="error sas.png" alt="error sas.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 07:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-connect-server-when-embedding-SAS-report-to-web-page/m-p/947244#M18397</guid>
      <dc:creator>yanti</dc:creator>
      <dc:date>2024-10-13T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect server when embedding SAS report to web page</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-connect-server-when-embedding-SAS-report-to-web-page/m-p/947310#M18398</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/468012"&gt;@yanti&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you check the Console log for the first troubleshooting step for the error.&lt;/P&gt;
&lt;P&gt;For HAR and console log, refer to the link&amp;nbsp;&lt;A href="https://sas.service-now.com/csm?id=kb_article_view&amp;amp;sysparm_article=KB0036430" target="_blank"&gt;Knowledge Article View - Customer Support (service-now.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Please make sure all the prerequisites are done, refer to the link:&amp;nbsp;&lt;A href="https://developer.sas.com/sdk/va/docs/guides/viya-setup" target="_blank"&gt;SAS Viya Setup · SAS® Visual Analytics SDK&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Make sure the below definitions are properly configured:
&lt;OL&gt;
&lt;LI&gt;sas.commons.web.security.cors :- allowedOrigins: &amp;lt;URL_of_WebServer&amp;gt; &lt;EM&gt;(Note: it would not have trailing slash "/")&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;sas.commons.web.security.csrf :- allowedUris: .*&lt;/LI&gt;
&lt;LI&gt;sas.commons.web.security.cookies :- samesite: None&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;And even after all these changes if you are still facing the error, please&amp;nbsp;&lt;SPAN&gt;raise a support case. You can mail us at&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:support@sas.com" target="_blank" rel="nofollow noopener noreferrer"&gt;support@sas.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="http://support.sas.com/kb/57/691.html" target="_blank" rel="nofollow noopener noreferrer"&gt;Four tips to remember when you contact SAS Technical Support&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Tricks-for-SAS-Visual-Analytics-Report-Builders-Step-1-Draft-a/ta-p/921746" target="_blank" rel="noopener"&gt;&lt;EM&gt;Tricks for SAS Visual Analytics Report Builders&lt;/EM&gt;&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://support.sas.com/en/software/visual-analytics/8.html" target="_blank" rel="nofollow noopener noreferrer"&gt;SAS Visual Analytics Learning Center&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 03:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Unable-to-connect-server-when-embedding-SAS-report-to-web-page/m-p/947310#M18398</guid>
      <dc:creator>Huzaifa_SAS</dc:creator>
      <dc:date>2024-10-14T03:10:56Z</dc:date>
    </item>
  </channel>
</rss>

