July 16, 2007 at 12:00 am
G'day all,
I'm having an issue here where ISQL is unable to connect to the local sql instance, however OSQL is perfectly capable.
ISQL on the local machine can connect to SQL instances on other boxes and ISQL on the other boxes can connect to SQL on the machine in error.
I get no error messages at the command prompt, none in event viewer and none in the SQL log. I simply type isql, it asks for a password and after I enter it (correctly or incorrectly) is simply shows the command line again.
Has anyone seen this or know where I should look for the specific relationship between isql and the local sql instance?
Thanks in advance,
July 16, 2007 at 12:20 am
Did you try typing something in the window might be it would have got connected. Check that and let know.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
July 16, 2007 at 2:01 am
Not sure what you're talking about but this is what I get using ISQL on the local box(see below)
D:\>isql
Password:
D:\>isql -Sdbserver
Password:
Msg 18456, Level 14, State 1:
Login failed for user 'admcharles'.
DB-Library: Login incorrect.
D:\>
So if I use ISQL on the local box to the local SQL instance, type in my password and wrong or right it gives me nothing but the next command prompt. I then use ISQL on the local box to a remote server and it at least responds to a wrong password.
July 16, 2007 at 2:42 am
Just try this and let me know isql -E -S.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
July 16, 2007 at 8:11 pm
Sugesh,
I tried that but again saw nothing
D:\>isql -E -S
password:
D:\>
However I ended up going into the cliconfg and changing the order of the network connections from TCP/IP -> named pipes to named pipes -> TCP/IP restarted SQL and it worked.
Its a mad mad mad world.
July 16, 2007 at 10:31 pm
Ok i dint remember that it would be a network protocol problem too.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
July 17, 2007 at 4:43 am
Do NOT use ISQL!!! It is severely deprecated compared to OSQL. I'm not even sure why they left the bloody program available. And, don't confuse ISQL with ISQLW which is Query Analyzer.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply