«

»

Nov 17 2008

Print this Post

Erro 18452 MSSQL

Ao tentar fazer a conexão com o Servidor de Banco de Dados MSSQL Server, ocorre o erro, com o código 18452.

Connection failed:
SQLState: ’28000′
SQL Server Error: 18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user ‘gbadmin’. Reason: Not associated with a trusted SQL Server connection

Este erro ocorre devido ao meio de autenticação escolhido durante a instalação do MSSQL.

Ao instalar o MSSQL, existem dois métodos de autenticação:

  • Windows Authentication Mode;
  • Mixed Mode (Windows Authentication Mode and SQL Server Authentication).

Se você escolheu o primeiro método, para realizar a autenticação, e tentar fazer a conexão com um usuário Local do SQL, o erro acima irá ocorrer.

Para resolver, altere o modo de autenticação para Mixed Mode.

Permanent link to this article: http://www.brunorusso.eti.br/brusso-2/erro-18452-mssql

1 comment

  1. Garnet Stepchinski

    hey I like this publish. I observed it from doing a google look for. Ive been trying to find this sort of factor for a although. This info will arrive in handy to me. I am going to verify back quickly to search the rest of the web site. thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>