Are you logged into an NT domain. Is the SQL Server maching part of that domain. Have you granted access to your domain login to the SQL Server?
BOb
>Hi all,
>
>Anyone can explain me how i connect to SQL Server with Windows Authentication with This type of connection..
>
>.oConnection.OPEN( "DRIVER={SQL Server};" + ;
> "Server=localhost;"+ ;
> "DATABASE=JBEMPRESAS;"+ ;
> ......
>
>
>I try with Trusted_Connection=YES but no luck, and i can't find any papers that explain this connection type.
>
>Thank's
>
>João Batista