X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=fP4J2OPWm9OfNHG2sUcuxlVBhU9qP
	STwc5XG8QjOJ19sG64M07qs6xtk5PCKTfno/pC1yQoADpfCTphky7FgM19Mgni5p
	8kzazWja8KkCb9OMs74IkG1lEe9GROikBpickvqiFd2bz3gZCo/L/DhfSK7wF0tn
	ZNMaoyqM7ry2ls=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=HqQlzypUyOUN9hgTGLZ16LQasgw=; b=qEr
	uJrCuZKKjzhZ2D7hGBWKncCz5Flz4pnOjuihA9Y+RFoMhnzgaostj81i9uFBMvjI
	gWXJp2xmbqQImDmUxD7iEkqExbZIcVDw8GgFGuaLu9pcDoEwBIJNSRBlDGDJlRrL
	+roNyogLoQ1OTVeBYl/M2kw4PSBIBezDLKJkKhV4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qa0-f68.google.com
MIME-Version: 1.0
X-Received: by 10.224.115.142 with SMTP id i14mr23176174qaq.9.1396207437056; Sun, 30 Mar 2014 12:23:57 -0700 (PDT)
Date: Mon, 31 Mar 2014 00:53:57 +0530
Message-ID: <CAN=kAG60gXDuQowmnWhv-eu2xtSmMSpbfSzcG474PcU3wXp87w@mail.gmail.com>
Subject: Re: SQL server utility not working when invoked(from a asp.net application) using cygwin
From: "Afreen.." <afreen.tandur@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Thanks for the response Chris.Really appreciate the help.
Well,The return status for the sqlcmd command is 1. sqlcmd probably
just does not get executed.The query is not executed nor is the output
redirected to sql.log.It does not even give an error message if I pass
an incorrect parameter.

The same script (ie. Test.script here) & the sqlcmd command in it are
executed correctly when directly invoked from the cygwin terminal.

One more interesting thing here is that if I use the osql utility
(It's a sql server utility similar to sqlcmd) instead of sqlcmd in the
script,it works perfectly fine (even when the script is called from
the asp.net application).

Also, I'll upgrade to a more recent version of cygwin and check if it
solves the issue.


Thanks & Regards,
Afreen T

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

