<?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: Error when publishing to SAS Micro Analytic Service (MAS) destination in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/815190#M1401</link>
    <description>Hi Alexal, thanks for your reply. I'll have to check filesystem permissions with the admins, in the mean time, how do I know if a model contains an analytic store?</description>
    <pubDate>Thu, 26 May 2022 10:42:12 GMT</pubDate>
    <dc:creator>alisio_meneses</dc:creator>
    <dc:date>2022-05-26T10:42:12Z</dc:date>
    <item>
      <title>Error when publishing to SAS Micro Analytic Service (MAS) destination</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/814974#M1398</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS Viya 3.5 and when I try to publish a binary classification model created using SAS Model Studio (8.5) to a SAS Micro Analytic Service (MAS) destination I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alisio_meneses_2-1653439585145.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71748iCB0A23A0EF65535D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alisio_meneses_2-1653439585145.png" alt="alisio_meneses_2-1653439585145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"An error occurred. Please refer to the log for details or contact your system administrator. The log can be found at:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://mydomain/modelPublish/models/78efa1df-1c29-4e37-b199-e5f5927686e4/log" target="_blank" rel="noopener"&gt;https://mydomain/modelPublish/models/78efa1df-1c29-4e37-b199-e5f5927686e4/log&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The given error link contains the following json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"creationTimeStamp":"2022-05-25T00:06:05.547Z","modifiedTimeStamp":"2022-05-25T00:06:10.659Z","createdBy":"userhere","modifiedBy":"userhere","links":[{"method":"GET","rel":"up","href":"/modelPublish/models/09ba42be-dafa-47ad-8a3f-ea2af3129bc6","uri":"/modelPublish/models/09ba42be-dafa-47ad-8a3f-ea2af3129bc6","type":"application/vnd.sas.models.publishing.publish"},{"method":"GET","rel":"self","href":"/modelPublish/models/09ba42be-dafa-47ad-8a3f-ea2af3129bc6/log","uri":"/modelPublish/models/09ba42be-dafa-47ad-8a3f-ea2af3129bc6/log","type":"application/json"}],"version":1,"id":"af9ddfa8-64c5-4853-abf6-10f63f58ba06","publishName":"Published model Gradient Boosting (Pipeline 1)","destinationName":"maslocal","modelId":"fa5f2a1d-59fe-4904-a24e-aba49aa75ec7","modelName":"Gradient_Boosting__Pipeline_1_","log":"ERROR==={\"errorCode\":0,\"message\":\"In declaration of method predictedscore: parameter \\\"EM_CLASSIFICATION\\\" is 'in_out'; therefore, the type size (32) will be ignored.\",\"links\":[],\"version\":2,\"httpStatusCode\":0}"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess the most important part of the error message is this at the end:&lt;/P&gt;&lt;PRE&gt;In declaration of method predictedscore: parameter \\\"EM_CLASSIFICATION\\\" is 'in_out'; therefore, the type size (32) will be ignore&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I can read the problem description, I really don't know what to make of it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It is possible publish the same model successfully to a&amp;nbsp;&lt;SPAN&gt;SAS Cloud Analytic Services (&lt;/SPAN&gt;CAS);&lt;/LI&gt;&lt;LI&gt;The desired MAS destination has working previously published models;&lt;/LI&gt;&lt;LI&gt;The model was created using the automated pipeline creation feature, but the same problem happened in a model from a different, manually created pipeline;&lt;/LI&gt;&lt;LI&gt;Same thing happens, an error, when publishing the same model from &lt;STRONG&gt;SAS Model Manager.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction on how to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 00:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/814974#M1398</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2022-05-25T00:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error when publishing to SAS Micro Analytic Service (MAS) destination</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/815002#M1399</link>
      <description>&lt;P&gt;It seems like your pipeline contains an&amp;nbsp;analytic store (astore) model.&amp;nbsp;Users who need to work with analytic store models must have Read and Write permissions to both the&amp;nbsp;&lt;SPAN class="xisDoc-directoryPath"&gt;/opt/sas/viya/config/data/modelsvr/astore&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class="xisDoc-directoryPath"&gt;/models/astores/viya&lt;/SPAN&gt;&amp;nbsp;directories. By default, the&amp;nbsp;&lt;CODE class="xisDoc-systemSuppliedValue"&gt;sas&lt;/CODE&gt;&amp;nbsp;group has full permission to these directories. Please see more details here:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/calcdc/3.5/calmodels/n10916nn7yro46n119nev9sb912c.htm#n0z2r4z60t4q7pn12vd9mfudf8m7" target="_blank"&gt;https://go.documentation.sas.com/doc/en/calcdc/3.5/calmodels/n10916nn7yro46n119nev9sb912c.htm#n0z2r4z60t4q7pn12vd9mfudf8m7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 11:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/815002#M1399</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2022-05-25T11:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error when publishing to SAS Micro Analytic Service (MAS) destination</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/815190#M1401</link>
      <description>Hi Alexal, thanks for your reply. I'll have to check filesystem permissions with the admins, in the mean time, how do I know if a model contains an analytic store?</description>
      <pubDate>Thu, 26 May 2022 10:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-when-publishing-to-SAS-Micro-Analytic-Service-MAS/m-p/815190#M1401</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2022-05-26T10:42:12Z</dc:date>
    </item>
  </channel>
</rss>

