Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-30 Thread Afreen..
Chris Breisch wrote: >>Greetings, Chris J. Breisch! >>Without additional details on what is or isn't happening, this is as >>_dosOutput is a more likely offender. >>Because of backslashes. Since it's unquoted. >No, that's from my example, which works, not his. I handle creation of the >file name

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-30 Thread Afreen..
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. T

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-25 Thread Chris J. Breisch
Andrey Repin wrote: Greetings, Chris J. Breisch! Without additional details on what is or isn't happening, this is as _dosOutput is a more likely offender. Because of backslashes. Since it's unquoted. No, that's from my example, which works, not his. I handle creation of the file name prope

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-25 Thread Andrey Repin
Greetings, Chris J. Breisch! >> Without additional details on what is or isn't happening, this is as >> much assistance as I can provide. >> > I lied. I had one more thought. > Your username, password, database name, sql server name don't contain > characters that are special to bash, do they?

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-24 Thread Chris J. Breisch
Chris J. Breisch wrote: Without additional details on what is or isn't happening, this is as much assistance as I can provide. I lied. I had one more thought. Your username, password, database name, sql server name don't contain characters that are special to bash, do they? Of the four, pass

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-24 Thread Chris J. Breisch
Chris J. Breisch wrote: Can you give more specifics on how it fails? And is it possible for you to upgrade to a more recent version of Cygwin? I'm doing almost all of this except for the ASP.net part, and I have no problems. I do this at work, and I'm not at the office right now. It's possible I

Re: SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-23 Thread Chris J. Breisch
Afreen.. wrote: Hello, I have an asp.net application which uses cygwin to execute shell scripts in Windows environment. sqlcmd utility is used in these shell scripts to connect to a database and execute queries. sqlcmd is command line application that allows SQL queries to be written and execute

SQL server utility not working when invoked(from a asp.net application) using cygwin

2014-03-23 Thread Afreen..
Hello, I have an asp.net application which uses cygwin to execute shell scripts in Windows environment. sqlcmd utility is used in these shell scripts to connect to a database and execute queries. sqlcmd is command line application that allows SQL queries to be written and executed from the command