Login failed for user ''user''. Reason: Not associated with a trusted SQL

  • I have a strange problem with isql:

    isql -E -S Aristarchus\OVOPS -d ServiceDeskDB -i "Changes 3 - Create Function.sql"

    returns

    Msg 18452, Level 14, State 1:

    Login failed for user 'user'. Reason: Not associated with a trusted SQL

    I would expect this error when we would try to connect with a SQL account, and only Windows authentication is enabled. However, we are in mixed mode: Windows & SQL authentication.

    The account used is a windows account with login rights on the server and db_owner rights on the database ServiceDeskDB.

    The network libraries on the client side are compeltely default: first TCP/IP, then Named Pipes.

    Shared memory protocol is enabled.

    I ran out of ideas. Can somebody help?

    Many thanks,

    Jan

  • Try using osql instead of isql because isql shouldn´t be able to connect to a named instance unless you create an alias.

Viewing 2 posts - 1 through 1 (of 1 total)

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