Link to home
Create AccountLog in
Avatar of snyderkv
snyderkv

asked on

OSQL.exe not working?

For anybody who has used this, I get an error when I try to run it. I have permissions. The error reads

Failed to load resource file osql.rll. The system cannot find the file specified

Anybody? I'm trying to use the -l to query for instances of a datbase across the network. II used this before without this issue but that was a long time ago. What could be causing this error?
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

in sql server 2005, don't use osql.exe or isql.exe, but sqlcmd.exe
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of snyderkv
snyderkv

ASKER

Damn can't download it due to web blocking.

This will broadcast and look for SQL servers/instances like OSQL?

What do you think could be the problem with OSQL?
osql is for sql 2000 and lower versions. it needs to be installed properly (sql 2000 client) to be working at all.
weak