<?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: The library could not be assigned by SAS Server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255542#M17935</link>
    <description>&lt;P&gt;Oh, it should read:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test &lt;FONT face="arial black,avant garde"&gt;meta&lt;/FONT&gt; library="&amp;lt;your library metadata name&amp;gt;"  libdebug;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Mar 2016 14:58:46 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-03-09T14:58:46Z</dc:date>
    <item>
      <title>The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255504#M17926</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;need immediate solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have some sas tables &amp;amp; code in particular sas library but im getting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12365iD6776385F1520F12/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255504#M17926</guid>
      <dc:creator>vishu</dc:creator>
      <dc:date>2016-03-09T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255508#M17927</link>
      <description>&lt;P&gt;Hi Vishu,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you click the "Show details" button? Often this gives good insight as to what the underlyhing issue is. Please share that info with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Jan.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255508#M17927</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-09T13:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255510#M17928</link>
      <description>&lt;P&gt;What about checking "Show details"?&lt;/P&gt;
&lt;P&gt;What kind of library&amp;nbsp;is it?&lt;/P&gt;
&lt;P&gt;It's not pre-assigned?&lt;/P&gt;
&lt;P&gt;Does this happen for every user?&lt;/P&gt;
&lt;P&gt;Authorization?&lt;/P&gt;
&lt;P&gt;Search the metadata server &amp;amp; object spawner log for any more clues.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255510#M17928</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-09T13:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255525#M17931</link>
      <description>&lt;P&gt;yes i checked with show details checkbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it shows&lt;/P&gt;&lt;P&gt;[Error] Error trying to establish connection: Unable to Initialize: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------------------- Technical Information Follows ------------------------------&lt;/P&gt;&lt;P&gt;SAS.EG.SDS.SDSException: &amp;lt;?xml version="1.0" ?&amp;gt;&amp;lt;Exceptions&amp;gt;&amp;lt;Exception&amp;gt;&amp;lt;SASMessage severity="Error"&amp;gt;Error trying to establish connection: Unable to Initialize: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.&amp;lt;/SASMessage&amp;gt;&amp;lt;/Exception&amp;gt;&amp;lt;/Exceptions&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Model.Library.Assign()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Model.Library.PopulateDatasets(Collection&amp;amp; collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Model.Broker.PopulateCollection(Collection collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Model.Collection.DoPopulate()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Model.Collection.Populate()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at SAS.EG.SDS.Views.View.DoPopulate(DisplayOperation&amp;amp; op)&lt;/P&gt;&lt;P&gt;------------------------------ End of Technical Information -----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue is occuring for every user as Linush said..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thnx Linush &amp;amp; Jklaverstijn&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 14:22:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255525#M17931</guid>
      <dc:creator>vishu</dc:creator>
      <dc:date>2016-03-09T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255535#M17933</link>
      <description>&lt;P&gt;Well there you have it. For some reason (many possibilities) you cannot get to the data in SQL Server as specified in the metadata. You will probably need to work with your trusted DBA to figure this one out. One hint I can give you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run this code from within EG. Insert the actual name of the library between the quotes:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test metalib library="&lt;EM&gt;&amp;lt;your library metadata name&amp;gt;&lt;/EM&gt;"  libdebug;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will give you the current info used to assign the library from metadata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;- Jan&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 14:36:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255535#M17933</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-09T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255538#M17934</link>
      <description>&lt;P&gt;&amp;nbsp;GETTING THIS ERROR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The METALIB engine cannot be found.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank U&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 14:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255538#M17934</guid>
      <dc:creator>vishu</dc:creator>
      <dc:date>2016-03-09T14:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255542#M17935</link>
      <description>&lt;P&gt;Oh, it should read:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test &lt;FONT face="arial black,avant garde"&gt;meta&lt;/FONT&gt; library="&amp;lt;your library metadata name&amp;gt;"  libdebug;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Mar 2016 14:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255542#M17935</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-09T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255546#M17936</link>
      <description>&lt;P&gt;Ah yes. Typo while reading off another screen. That was severely untested code. Sorry for that.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 15:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255546#M17936</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-09T15:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255756#M17941</link>
      <description>&lt;P&gt;there any solution last one is not working ....thank u&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:22:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255756#M17941</guid>
      <dc:creator>vishu</dc:creator>
      <dc:date>2016-03-10T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255757#M17942</link>
      <description>It was just a test.&lt;BR /&gt;Have this ever worked? If so, what has changed? &lt;BR /&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12460"&gt;@jklaverstijn&lt;/a&gt; said, the SAS Admin and SQL Server DBA should work close together to solve this.&lt;BR /&gt;If there's anything wrong in the meta data, it's hard for us to trouble shoot. So if you can't find what's wrong,  maybe it's simpler to register the schema and library from scratch based on the guides available in the documentation and published papers.</description>
      <pubDate>Thu, 10 Mar 2016 11:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255757#M17942</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-10T11:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255887#M17949</link>
      <description>&lt;P&gt;Try assigning a test LIBNAME without involving metadata. Does it work? If it does then your problem is with the metadata version. If it doesn't work then you need to get this right first before considering your metadata definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test "&amp;lt;your data library path&amp;gt;" ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 18:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/255887#M17949</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-03-10T18:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: The library could not be assigned by SAS Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/256724#M17989</link>
      <description>&lt;P&gt;Hi Vishnu,&lt;BR /&gt;&lt;BR /&gt;We cannot provide a solution based on what we know. And it requires knowledge of your local installation. The best approach imho is still to run&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test meta library="&amp;lt;your library metadata name&amp;gt;" libdebug;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Print out the log and take that to your local (database) support people. &lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;- Jan.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/The-library-could-not-be-assigned-by-SAS-Server/m-p/256724#M17989</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-03-15T10:32:08Z</dc:date>
    </item>
  </channel>
</rss>

