We help IT Professionals succeed at work.

Sqlcmd could not write to log file

Medium Priority
602 Views
Last Modified: 2012-05-11
Hi Experts

i run from C# a commnad to run script on servers:

" -S agidi-pc -d SILVI -i \"100_RunScript.sql\" -o \"C:\\Silvi\\Upgrade\\100_RunScript.sql.0ut\" -U Silvi -P Password.1"

in my computer all works fine, and in customer computers i get error:
Could not find file 'c:\Silvi\Upgrade\100_RunScript.sql.0ut'.

any one can help?
10x
Comment
Watch Question

CERTIFIED EXPERT

Commented:
make sure that on customer compuetr
this path and file existsa wirh same names

c:\Silvi\Upgrade\100_RunScript.sql.0ut

Author

Commented:
the file is not exists, akso in my computer is not exists.
the sqlcmd create it in my computer on runtime.
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
absolutly exists
 you think i better create the log file output before and avoid problems?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.