<?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: Connecting to Enterprise Guide using SASPy in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571545#M16658</link>
    <description>&lt;P&gt;Thanks for replying, I have now manged to log in, the problem was in the path of the jar files, I didn't change the path completely. Also the port required was of SAS workspace server, i was providing that of meta data erver as visible in EG login details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes the log in is to the SAS server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jul 2019 04:50:57 GMT</pubDate>
    <dc:creator>SouravRoy</dc:creator>
    <dc:date>2019-07-06T04:50:57Z</dc:date>
    <item>
      <title>Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571342#M16650</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect to SAS enterprise guide using SASPy in Python. I am getting below error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cannot use STDIO I/O module on Windows. Try the following: IOM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have set the sascfg_personal.py iomcom parameter with below details:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;iomcom = {&lt;BR /&gt;'iomhost': 'Server Machine Name'&lt;BR /&gt;'iomport': 8561,&lt;BR /&gt;'class_id': class identifier of&amp;nbsp;&lt;/SPAN&gt;SAS Workspace Server&amp;nbsp;&lt;SPAN&gt;,&lt;BR /&gt;'provider': 'sas.iomprovider',&lt;BR /&gt;'encoding': 'windows-1252'&lt;BR /&gt;&lt;BR /&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>Fri, 05 Jul 2019 09:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571342#M16650</guid>
      <dc:creator>SouravRoy</dc:creator>
      <dc:date>2019-07-05T09:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571359#M16651</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92184"&gt;@SouravRoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you install SAS Enterprise Guide or SAS Integration Technologies Client on that machine?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 11:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571359#M16651</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-07-05T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571360#M16652</link>
      <description>&lt;P&gt;Yes I have enterprise guide and integration technology, both of them installed on the machine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 11:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571360#M16652</guid>
      <dc:creator>SouravRoy</dc:creator>
      <dc:date>2019-07-05T11:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571363#M16653</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92184"&gt;@SouravRoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show me your sascfg.py file.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 12:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571363#M16653</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-07-05T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571443#M16654</link>
      <description>&lt;P&gt;attaching sascfg.py&lt;/P&gt;&lt;P&gt;I am now trying&amp;nbsp; to connect as&amp;nbsp; below:&lt;/P&gt;&lt;P&gt;sas = saspy.SASsession(cfgname='winiomwin')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and am getting below error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Java Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;java.lang.NoClassDefFoundError: com/sas/services/connection/ConnectionFactoryException &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.Class.getDeclaredMethods0(Native Method) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.Class.privateGetDeclaredMethods(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.Class.privateGetMethodRecursive(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.Class.getMethod0(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.Class.getMethod(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at sun.launcher.LauncherHelper.validateMainClass(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Caused by: java.lang.ClassNotFoundException: com.sas.services.connection.ConnectionFactoryException &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.net.URLClassLoader.findClass(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.ClassLoader.loadClass(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;at java.lang.ClassLoader.loadClass(Unknown Source) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;... 7 more &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: A JNI error has occurred, please check your installation and try again&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exception in thread "main" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Subprocess failed to start. Double check your settings in sascfg_personal.py file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attempted to run program java with the following parameters:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;['java', '-classpath', E:\\SAS\\SAShome\\SASDeploymentManager\\9.4\\products\\deploywiz__94472__prt__xx__sp0__1\\deploywiz\\sas.svc.connection.jar;E:\\SAS\\SAShome\\SASDeploymentManager\\9.4\\products\\deploywiz__94472__prt__xx__sp0__1\\deploywiz\\log4j.jar;E:\\SAS\\SAShome\\SASDeploymentManager\\9.4\\products\\deploywiz__94472__prt__xx__sp0__1\\deploywiz\\sas.security.sspi.jar;E:\\SAS\\SAShome\\SASDeploymentManager\\9.4\\products\\deploywiz__94472__prt__xx__sp0__1\\deploywiz\\sas.core.jar;C:\\Users\\XXXX\\AppData\\Local\\Programs\\Python\\Python37-32\\Lib\\site-packages\\saspy\\java\\saspyiom.jar', 'pyiom.saspy2j', '-host', 'localhost', '-stdinport', '58234', '-stdoutport', '58235', '-stderrport', '58236', '-iomhost', 'XXXX', '-iomport', '8561', '-user', 'XXXX', '-lrecl', '1048576', ''] If no Java Error above, try running the following command (where saspy is running) manually to see if it's a problem starting Java: java -classpath "E:\SAS\SAShome\SASDeploymentManager\9.4\products\deploywiz__94472__prt__xx__sp0__1\deploywiz\sas.svc.connection.jar;E:\SAS\SAShome\SASDeploymentManager\9.4\products\deploywiz__94472__prt__xx__sp0__1\deploywiz\log4j.jar;E:\SAS\SAShome\SASDeploymentManager\9.4\products\deploywiz__94472__prt__xx__sp0__1\deploywiz\sas.security.sspi.jar;E:\SAS\SAShome\SASDeploymentManager\9.4\products\deploywiz__94472__prt__xx__sp0__1\deploywiz\sas.core.jar;C:\Users\XXXX\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\saspy\java\saspyiom.jar" pyiom.saspy2j -host localhost -stdinport 58234 -stdoutport 58235 -stderrport 58236 -iomhost XXXXX-iomport 8561 -user XXXX -lrecl 1048576 &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2019 04:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571443#M16654</guid>
      <dc:creator>SouravRoy</dc:creator>
      <dc:date>2019-07-06T04:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571444#M16655</link>
      <description>&lt;P&gt;I seriously doubt you could connect to Enterprise Guide.&amp;nbsp; You should be able to connect to the same SAS server that EG is using.&lt;/P&gt;
&lt;P&gt;Which looks like what you are actually trying to do.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 16:26:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571444#M16655</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-05T16:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571545#M16658</link>
      <description>&lt;P&gt;Thanks for replying, I have now manged to log in, the problem was in the path of the jar files, I didn't change the path completely. Also the port required was of SAS workspace server, i was providing that of meta data erver as visible in EG login details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes the log in is to the SAS server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2019 04:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/571545#M16658</guid>
      <dc:creator>SouravRoy</dc:creator>
      <dc:date>2019-07-06T04:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/664045#M19267</link>
      <description>Hello&lt;BR /&gt;Im facing an issue ‘No sas process attached’ sas process has terminated unexpectedly&lt;BR /&gt;&lt;BR /&gt;I did add the sspiauth.dll files path&lt;BR /&gt;&lt;BR /&gt;I just have sas eg installed on my system.. please help me with the steps to follow while making changes to cfg file&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Mon, 22 Jun 2020 18:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/664045#M19267</guid>
      <dc:creator>narendrapendem1</dc:creator>
      <dc:date>2020-06-22T18:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Enterprise Guide using SASPy</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/664058#M19269</link>
      <description>Make sure you are using the latest version of sasPy (3.3.6 at the time of this writing) and have followed the steps to update your sascfg_personal.py file with the appropriate paths for your environment, as the defaults probably do not have the correct versions.&lt;BR /&gt;&lt;BR /&gt;If you use Enterprise Guide to connect to a remote server, you would likely want to use the IOM using Java option to connect the same way in sasPy.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://sassoftware.github.io/saspy/install.html" target="_blank"&gt;https://sassoftware.github.io/saspy/install.html&lt;/A&gt;</description>
      <pubDate>Mon, 22 Jun 2020 20:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Connecting-to-Enterprise-Guide-using-SASPy/m-p/664058#M19269</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-06-22T20:00:21Z</dc:date>
    </item>
  </channel>
</rss>

