Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

Sqlcmd could not write to log file

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
0
gudidi
Asked:
gudidi
  • 2
  • 2
1 Solution
 
Pratima PharandeCommented:
make sure that on customer compuetr
this path and file existsa wirh same names

c:\Silvi\Upgrade\100_RunScript.sql.0ut
0
 
gudidiAuthor Commented:
the file is not exists, akso in my computer is not exists.
the sqlcmd create it in my computer on runtime.
0
 
Pratima PharandeCommented:
did this foldes are present ?

c:\Silvi\Upgrade\
0
 
gudidiAuthor Commented:
absolutly exists
 you think i better create the log file output before and avoid problems?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now