<?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 Metadata Connection Issue in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/706899#M21047</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I run the below mentioned piece of code under two scenarios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options metaserver="metadataserver"
metaport=8561
metaprotocol="bridge"
metauser="user"
metapass="password"
remote=remhost;

%put gs_rc=%sysfunc(grdsvc_enable(_all_,server=SASApp));
signon grid1;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;scenario 1 &amp;gt; I run the code with unrestricted metadata access, it runs without any errors.&lt;/P&gt;
&lt;P&gt;scenario 2 &amp;gt; I run this code without unrestricted metadata access, like an end user. The below mentioned error appears in the log.&lt;/P&gt;
&lt;PRE&gt;25 GOPTIONS ACCESSIBLE;
26 options metaserver="metadataserver"
27 metaport=8561
28 metaprotocol="bridge"
29 metauser="user"
30 metapass=XXXXXXXXXXXX
31 remote=remhost;
NOTE: Connecting to SAS Metadata Server produced: ERROR: Association not found.
NOTE: SAS application server not found; the local machine will be used.
32 
33 %put gs_rc=%sysfunc(grdsvc_enable(_all_,server=SASApp));
gs_rc=1
34 
34 ! signon grid1;&lt;/PRE&gt;
&lt;P&gt;I believe it is caused by some metadata level authorization conflict. Could someone provide an idea to tackle this?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 08:25:06 GMT</pubDate>
    <dc:creator>SASWayne</dc:creator>
    <dc:date>2020-12-18T08:25:06Z</dc:date>
    <item>
      <title>Metadata Connection Issue</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/706899#M21047</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I run the below mentioned piece of code under two scenarios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options metaserver="metadataserver"
metaport=8561
metaprotocol="bridge"
metauser="user"
metapass="password"
remote=remhost;

%put gs_rc=%sysfunc(grdsvc_enable(_all_,server=SASApp));
signon grid1;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;scenario 1 &amp;gt; I run the code with unrestricted metadata access, it runs without any errors.&lt;/P&gt;
&lt;P&gt;scenario 2 &amp;gt; I run this code without unrestricted metadata access, like an end user. The below mentioned error appears in the log.&lt;/P&gt;
&lt;PRE&gt;25 GOPTIONS ACCESSIBLE;
26 options metaserver="metadataserver"
27 metaport=8561
28 metaprotocol="bridge"
29 metauser="user"
30 metapass=XXXXXXXXXXXX
31 remote=remhost;
NOTE: Connecting to SAS Metadata Server produced: ERROR: Association not found.
NOTE: SAS application server not found; the local machine will be used.
32 
33 %put gs_rc=%sysfunc(grdsvc_enable(_all_,server=SASApp));
gs_rc=1
34 
34 ! signon grid1;&lt;/PRE&gt;
&lt;P&gt;I believe it is caused by some metadata level authorization conflict. Could someone provide an idea to tackle this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 08:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/706899#M21047</guid>
      <dc:creator>SASWayne</dc:creator>
      <dc:date>2020-12-18T08:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Connection Issue</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/706941#M21049</link>
      <description>&lt;P&gt;The problem is that the restricted user you are trying to use has one of two problems:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- The user is not defined in metadata so when it connects to the metadata server it is a member of the PUBLIC group instead of the SASUSERS group. The PUBLIC group does not have read metadata access to metadata by default. I am guessing this is not the case.&lt;BR /&gt;- The user is defined in metadata, but the access control on something it needs to get to to use the grid prevents the user from using the logical grid server. This could be the application server, the logical grid server, the grid server server context, or the grid server connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If running SAS in line mode or DMS mode, you could add the following lines to your code to see more debug information:&lt;/P&gt;
&lt;PRE&gt;%log4sas();
%log4sas_logger("App.tk.tkegrid","level=trace");&lt;/PRE&gt;
&lt;P&gt;If running in a workspace server, you would need need to change to use the logconfig.trace.xml file and add the App.tk.tkegrid logger and set its level to trace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 13:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/706941#M21049</guid>
      <dc:creator>doug_sas</dc:creator>
      <dc:date>2020-12-18T13:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Connection Issue</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/708753#M21120</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/899"&gt;@doug_sas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your reply, I check the authorization of the user group on the grid server. ReadMetadata was denied. I granted that permission to resolve the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 13:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-Connection-Issue/m-p/708753#M21120</guid>
      <dc:creator>SASWayne</dc:creator>
      <dc:date>2020-12-30T13:10:09Z</dc:date>
    </item>
  </channel>
</rss>

