<?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: PROC Export to Excel is giving an error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430451#M27778</link>
    <description>&lt;P&gt;We could see that the 3 nodes are not Trusted for Delegation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still wonder why one SAS Application Server can do the job with UNC and other cannot. Don't you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before asking the Security teams to open such a big security hole, I would like to be sure about why there is a difference and on what.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something else: the 3 Object Spawners run under the Local System account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, totally true and understandable.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 14:35:14 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2018-01-24T14:35:14Z</dc:date>
    <item>
      <title>PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428289#M27583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I make a export in SAS EG 6.1 M1 to excel from our bussinesserver I got&amp;nbsp;the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error creating XLSX file -&amp;gt; \\infra\d$\SAS\ONT\BI\SASEGProjects\_EDWH\Controlescripts\BBO\Testje..xlsx . It is either not an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;Excel spreadsheet or it is damaged. Error code=8000101D&lt;BR /&gt;Requested Output File is Invalid&lt;BR /&gt;ERROR: Export unsuccessful. See SAS Log for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code i run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data testje;&lt;BR /&gt;vandaag = today();run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = testje&lt;BR /&gt;outfile = "\\infra\S$\SAS\ONT\BI\SASEGProjects\_EDWH\Controlescripts\BBO\Testje..xlsx"&lt;BR /&gt;dbms=xlsx replace;&lt;BR /&gt;sheet = Zorgverlener;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the code on our ETL Server it's working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the license for the SAS/ACCESS Interface to PC File. We are on SAS 9.4 M1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help me in resolving the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428289#M27583</guid>
      <dc:creator>MaxBeijer</dc:creator>
      <dc:date>2018-01-17T08:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428293#M27584</link>
      <description>&lt;P&gt;Are business and ETL server different physical or virtual machines? It might be that the business server has the resource mounted read-only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prime avenue for research are the permissions and user rights, IMO.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428293#M27584</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-17T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428294#M27585</link>
      <description>&lt;P&gt;Hi Kurt,&lt;BR /&gt;&lt;BR /&gt;The business and ETL servers are installed on the same physical machines in a grid environment on windows. With my administrator account it is working on both servers. With the normal user account it is only working on the business server.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428294#M27585</guid>
      <dc:creator>MaxBeijer</dc:creator>
      <dc:date>2018-01-17T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428304#M27586</link>
      <description>&lt;P&gt;That strongly points to a permission issue with your "normal" user.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428304#M27586</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-17T09:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428308#M27587</link>
      <description>What are the permissions to check because both servers are using the same metadata and the same "normal" user?</description>
      <pubDate>Wed, 17 Jan 2018 10:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428308#M27587</guid>
      <dc:creator>MaxBeijer</dc:creator>
      <dc:date>2018-01-17T10:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428309#M27588</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67887"&gt;@MaxBeijer&lt;/a&gt; wrote:&lt;BR /&gt;What are the permissions to check because both servers are using the same metadata and the same "normal" user?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That has to be done on the "physical" side, concerning how shares are mounted and how permissions for users are propagated across systems.&lt;/P&gt;
&lt;P&gt;It means you will have to check with your system and network admins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Windows allows some very fine granularity through Active Directory, which can complicate things quite a lot if used.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 10:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/428309#M27588</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-17T10:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430400#M27768</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I have clarified&amp;nbsp;the problem a little bit, however not sure how to move forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a problem happening on EG. The same code executed from a WorkspaceServer.bat session (in any Grid node, any SASApp) runs without problems. And this happens only for UNC paths, apparently, not on local paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a libname to that location it gets :&lt;/P&gt;
&lt;PRE&gt;ERROR: User does not have appropriate authorization level for library XXXXXX.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Which does not make much sense, because the same UNC path works OK from the server itself, so it cannot be solved with a setspn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;, you are our guru on EG and SAS/ACCESS to PC Files. Do you have any clue? I am sure I am missing something really fundamental here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:11:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430400#M27768</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-24T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430408#M27771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;- is it possible that your server machine is not configured as &lt;A href="http://go.documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1uhz7klzwwvr8n1r51h0nhcw2zm.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Trusted for Delegation&lt;/A&gt;?&amp;nbsp; That's needed for Windows to pass on your identity to access another network resource.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When run directly from the server, Trusted for Delegation is not needed.&amp;nbsp; But when you access via EG, which connects to your server using your network identity, Windows&amp;nbsp;&lt;STRONG&gt;will not&lt;/STRONG&gt; allow your access to go beyond that server to another network share (or network device, like a printer) unless this Active Directory setting is changed.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430408#M27771</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-01-24T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430415#M27772</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks a lot for chiming in!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought about it, but I am not sure on which way that makes sense. I mean, and to summarize:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It was tested either proc export or libname to the UNC (both give same results) on the following scenarios:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;- EG connection with Application server 1 (Etl): works&lt;/LI&gt;
&lt;LI&gt;-&amp;nbsp;&lt;SPAN&gt;EG connection with Application server&amp;nbsp;2 (BS):&amp;nbsp;not working&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;nbsp;local&amp;nbsp;connection with Application server 1 (Etl): works&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;nbsp;local&amp;nbsp;connection with Application server 2 (BS):&amp;nbsp;works&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would think&amp;nbsp;your statement would make 100% sense if scenario 1 and 2 would give same result, but not in this case.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For your information:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- the Grid is Windows based, 3 nodes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- All SASApps are deployed the same on the 3 machines, equally.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- EG is on Citrix.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A question, on an attempt to follow that thread of possibility: what AD account needs to be trusted for delegation? The 3 server nodes? My account? the Citrix server? I will check that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430415#M27772</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-24T13:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430417#M27773</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;- is it possible that your server machine is not configured as &lt;A href="http://go.documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1uhz7klzwwvr8n1r51h0nhcw2zm.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Trusted for Delegation&lt;/A&gt;?&amp;nbsp; That's needed for Windows to pass on your identity to access another network resource.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When run directly from the server, Trusted for Delegation is not needed.&amp;nbsp; But when you access via EG, which connects to your server using your network identity, Windows&amp;nbsp;&lt;STRONG&gt;will not&lt;/STRONG&gt; allow your access to go beyond that server to another network share (or network device, like a printer) unless this Active Directory setting is changed.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Windows: a tool to make administrator's lives miserable.&lt;/P&gt;
&lt;P&gt;SCNR.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430417#M27773</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-24T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430451#M27778</link>
      <description>&lt;P&gt;We could see that the 3 nodes are not Trusted for Delegation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still wonder why one SAS Application Server can do the job with UNC and other cannot. Don't you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before asking the Security teams to open such a big security hole, I would like to be sure about why there is a difference and on what.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something else: the 3 Object Spawners run under the Local System account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, totally true and understandable.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 14:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430451#M27778</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-24T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Export to Excel is giving an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430485#M27781</link>
      <description>&lt;P&gt;I don't know the answer, but sometimes the Windows event log (for the machine in question) can reveal what's going on.&amp;nbsp; An admin should be able to connect/view the Windows event log for the server.&amp;nbsp;&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="eventvwr.png" style="width: 381px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18077iD2FAF3AD510D29AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="eventvwr.png" alt="eventvwr.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the event log gets crowded quickly, I'd suggest running the test that fails and view the most recent log entries immediately.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 15:24:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-Export-to-Excel-is-giving-an-error/m-p/430485#M27781</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-01-24T15:24:54Z</dc:date>
    </item>
  </channel>
</rss>

