Sql server logs

  • I see in the sql server logs, lot of messages every minute

    Message

    Login failed for user 'Server name'. [CLIENT: xxx.xx.xxx.xx](IP Address of the machine)

    It follows with

    Message

    Error: 18456, Severity: 14, State: 16.

    The server on which I am getting these messages is the dev server and the failing user is the production server.

    How can I resolve this?

    Thanks,

    Sushant

    Regards
    Sushant Kumar
    MCTS,MCP

  • State 16 means that the user does not have permission to log into their target database.

    Usually happens when the user does not have permission to their default database.

    Check the default database for this user and make sure they have access or change the default database

  • @ steve

    The application on server tries to login every 30 sec or so and get faield..

    Is there a possible way to block the connection attempt thru the sql server ?

    Thanks,

    Sushant

    Regards
    Sushant Kumar
    MCTS,MCP

  • You should look at Logon triggers. This was introduced in SQL 2005 SP2 if I am not mistaken.

    -Roy

  • Do you have any linked servers created? To me sounds like credentials are wrong!

  • @roy

    Where could I find Logon triggers?

    @Twinsoft

    There are few linked servers but that server from which the attempts to logon are there , is not added as linked server.

    Regards
    Sushant Kumar
    MCTS,MCP

  • Check this link

    You can rollback a connection attempt using logon triggers.

    -Roy

  • any more views?

    Regards
    Sushant Kumar
    MCTS,MCP

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply