<?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 SQL connection error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34144#M4358</link>
    <description>Hi friends,&lt;BR /&gt;
i am using SAS EG and submitting code on a remote SAS server.&lt;BR /&gt;
I am trying to connect MS SQL Server through proc sql pass through query using my windows authentication.&lt;BR /&gt;
here is my code.&lt;BR /&gt;
&lt;BR /&gt;
connect to oledb as xyz (init_string="Provider=SQLOLEDB.1;&lt;BR /&gt;
                                     Integrated Security=SSPI;&lt;BR /&gt;
                                     Persist Security Info=True;&lt;BR /&gt;
                                     Initial Catalog=DB_TEST;&lt;BR /&gt;
                                     Data Source=SQLSERVER"&lt;BR /&gt;
                                     );&lt;BR /&gt;
&lt;BR /&gt;
but some thing is wrong, i get this error.&lt;BR /&gt;
&lt;BR /&gt;
Error trying to establish connection: Unable to Initialize: Login failed for user ''. The user is not associated with a trusted SQL Server connection.&lt;BR /&gt;
&lt;BR /&gt;
I checked on login into sql server , I am authenticated User.&lt;BR /&gt;
I think the query is not able to send my username to sql server.&lt;BR /&gt;
&lt;BR /&gt;
Please help..&lt;BR /&gt;
&lt;BR /&gt;
thanks and regards&lt;BR /&gt;
Avi</description>
    <pubDate>Wed, 20 May 2009 06:27:54 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-05-20T06:27:54Z</dc:date>
    <item>
      <title>SQL connection error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34144#M4358</link>
      <description>Hi friends,&lt;BR /&gt;
i am using SAS EG and submitting code on a remote SAS server.&lt;BR /&gt;
I am trying to connect MS SQL Server through proc sql pass through query using my windows authentication.&lt;BR /&gt;
here is my code.&lt;BR /&gt;
&lt;BR /&gt;
connect to oledb as xyz (init_string="Provider=SQLOLEDB.1;&lt;BR /&gt;
                                     Integrated Security=SSPI;&lt;BR /&gt;
                                     Persist Security Info=True;&lt;BR /&gt;
                                     Initial Catalog=DB_TEST;&lt;BR /&gt;
                                     Data Source=SQLSERVER"&lt;BR /&gt;
                                     );&lt;BR /&gt;
&lt;BR /&gt;
but some thing is wrong, i get this error.&lt;BR /&gt;
&lt;BR /&gt;
Error trying to establish connection: Unable to Initialize: Login failed for user ''. The user is not associated with a trusted SQL Server connection.&lt;BR /&gt;
&lt;BR /&gt;
I checked on login into sql server , I am authenticated User.&lt;BR /&gt;
I think the query is not able to send my username to sql server.&lt;BR /&gt;
&lt;BR /&gt;
Please help..&lt;BR /&gt;
&lt;BR /&gt;
thanks and regards&lt;BR /&gt;
Avi</description>
      <pubDate>Wed, 20 May 2009 06:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34144#M4358</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-20T06:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL connection error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34145#M4359</link>
      <description>This is a typically SAS Tech support issue.&lt;BR /&gt;
Information missing in your post: your environment details, such as server(s), metadata setup etc.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Wed, 20 May 2009 08:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34145#M4359</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-05-20T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL connection error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34146#M4360</link>
      <description>Avi:&lt;BR /&gt;
&lt;BR /&gt;
Did you ever have any luck with this issue?</description>
      <pubDate>Wed, 23 Jun 2010 02:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SQL-connection-error/m-p/34146#M4360</guid>
      <dc:creator>jklein271</dc:creator>
      <dc:date>2010-06-23T02:12:51Z</dc:date>
    </item>
  </channel>
</rss>

