Kinook Software Forums

Kinook Software Forums (
-   [VBP] Third Party Tools (
-   -   Run SQL can't find osql.exe (

Ron100 11-11-2009 02:07 PM

Run SQL can't find osql.exe
We recently uninstalled SQL Server 2005 from a build machine, then reinstalled. Visual Build Pro 6 build programs using the Run SQL action now fail, with a message like the following:

osql -S BuildSQL -d MasterBackup -U user -P pass -b -n -w 10000
Failed to create process: The system cannot find the file specified.

I can see that osql.exe exists in the following folder:
C:\Program Files\Microsoft SQL Server\90\Tools\Binn

I also cannot launch osql from the Windows Command prompt. I'm assuming some environment variable or registry entry has been deleted and/or modified - can anyone tell me what I need do to fix this problem?

kinook 11-11-2009 02:17 PM

Ron100 11-11-2009 02:32 PM

Thanks - I cured the problem by rebooting the machine.

All times are GMT -5. The time now is 07:49 PM.

Copyright 1999-2019 Kinook Software, Inc.