<?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 creating stored process from custom task in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209238#M15656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To expand: the library definition should have the information to identify the server as well as the path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 19:48:54 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-03-24T19:48:54Z</dc:date>
    <item>
      <title>Error when creating stored process from custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209236#M15654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a custom task whitch output data to a table in a library with LibraryName = MY_LIBRARY and LibRef = MY_LIB.&lt;/P&gt;&lt;P&gt;After I add the custom task to EG process flow, an error occurs when I try to 'Create Stored Process' either through task's right click menu or process flow's right click menu.&lt;/P&gt;&lt;P&gt;The error says, 'The library MY_LIB can not be found.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my task I implement the override methods OutputDataDescriptorList just like the '&lt;SPAN&gt;Calculate Running Totals' &lt;/SPAN&gt;sample code does.&lt;/P&gt;&lt;P&gt;(Using SAS.Shared.AddIns.SASTaskDataDescriptor.CreateLibrefDataDescriptor to create a Descriptor and add it to the return list.)&lt;/P&gt;&lt;P&gt;And if I set the same output to the built-in Rank task, no error occurs.&lt;/P&gt;&lt;P&gt;And if the library name is equal to libref, no error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception Details: (Please ignore the Japanese character)&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Exception type:&amp;nbsp; SAS.Shared.Exceptions.ObjectNotFoundException&lt;BR /&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; サーバー SASApp の ライブラリ MY_LIB が見つかりません。&lt;BR /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS.EG.SDS.Model&lt;BR /&gt;Target Site:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GetLibrary&lt;/P&gt;&lt;P&gt;Stack Trace:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 SAS.EG.SDS.Model.Library.GetLibrary(String serverName, String libraryName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 SAS.EG.ProjectElements.SubmitableElement.get_ExpectedOutputDataAsSAP()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 SAS.EG.ProjectElements.StoredProcessFromFlowGenerator.GenerateStoredProcessCode()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 SAS.EG.MainForm.OnCreateStoredProcessEvent(Object sender, ProcessListEventArgs args)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 SAS.EG.Controls.ProcessView.RaiseCreateStoredProcessEvent(IList`1 target)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 17:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209236#M15654</guid>
      <dc:creator>ShenQicheng</dc:creator>
      <dc:date>2015-03-24T17:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating stored process from custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209237#M15655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The stored process execute in another session, it's probably why it doesn't find your libref, so you have to code the libname in your stored process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 17:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209237#M15655</guid>
      <dc:creator>tlk</dc:creator>
      <dc:date>2015-03-24T17:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating stored process from custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209238#M15656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To expand: the library definition should have the information to identify the server as well as the path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 19:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209238#M15656</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-24T19:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating stored process from custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209239#M15657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand stored process run in another session, but the error occured during 'Create Stored Process', not running the stored process.&lt;/P&gt;&lt;P&gt;And the built-in task with the same output data can be created from to a stored process successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error can be reprodued by using the 'Calculate Running Totals' sample without making any change to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 01:46:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209239#M15657</guid>
      <dc:creator>ShenQicheng</dc:creator>
      <dc:date>2015-03-25T01:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating stored process from custom task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209240#M15658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that stored process run in another session but this error occured before the 'Create new stored process' wizard showing up.&lt;/P&gt;&lt;P&gt;With the same output data the built-in Rank task can be created from to a stored process successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the reason is the implementation of OutputDataDescriptorList, but I have no idea how to fix the problem.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-creating-stored-process-from-custom-task/m-p/209240#M15658</guid>
      <dc:creator>ShenQicheng</dc:creator>
      <dc:date>2015-03-25T08:28:50Z</dc:date>
    </item>
  </channel>
</rss>

