Viewing 7 posts - 1 through 7 (of 7 total)
Execute Process Task Error - The process exit code was "1" while the expected was "0". in Linux using dot net core
May 7, 2021 at 11:29 am
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = fileName;
...
May 6, 2021 at 2:04 pm
: before Arguments:"select * from DBNmae.dbo.InsertTemp queryout /home/Copient/Import/filename.csv - S server - U s
May 06 13:54:50 pesueha-vm1 testapp-service[24599]: info: testapp.Worker[0]
May 06 13:54:50 pesueha-vm1 testapp-service[24599]: Exception at processCMDLinux StackSt: at System.Diagnostics.Process.ForkAndExecProcess(String...
May 6, 2021 at 2:03 pm
I pasted my files in /home/Mydiectory/InputFiles/
May 6, 2021 at 7:55 am
Please help out i need to resolve this asap...
May 6, 2021 at 7:55 am
In Linux Unable to Do bulk Insert getting No such File or Directory Found
Following Below steps :
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = fileName;
proc.StartInfo.Arguments = arguments;
_logger.LogInformation("Before Start:");
proc.Start();
_logger.LogInformation("End Start:");
proc.WaitForExit();
}
Input:
bcp TableInsertTemp in /home/test.dat...
May 5, 2021 at 8:32 am
bcp select * from [WINKRRT-XIR\\SQLEXPRESS].[Db].[dbo].[TableName] out "C://DUst/EmployeeData.dat" -S WINKRRT-XIR\\SQLEXPRESS -U sa-P ''*********' -T
Error:Copy direction must be either 'in', 'out' or 'format'.
May 5, 2021 at 8:28 am
Viewing 7 posts - 1 through 7 (of 7 total)