Sqlcmd could not write to log file

Posted on 2011-04-27
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?
Question by:gudidi
    LVL 39

    Expert Comment

    by:Pratima Pharande
    make sure that on customer compuetr
    this path and file existsa wirh same names


    Author Comment

    the file is not exists, akso in my computer is not exists.
    the sqlcmd create it in my computer on runtime.
    LVL 39

    Accepted Solution

    did this foldes are present ?


    Author Comment

    absolutly exists
     you think i better create the log file output before and avoid problems?

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
    Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
    Viewers will learn how the fundamental information of how to create a table.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now