G
Guest
I have a c# application. When I compile it produces exe file automatically.
I want to run it from Query analyser.
I tried
exec master.dbo.xp_cmdshell
'C:\Inetpub\DOTNETDENEME\AlisverissaatiXMLHTTP\WindowsApplication1\obj\Debug\WindowsApplication1.exe'
It returned
*The system cannot find the path specified.* as an error.
But im sure the path is correct.
I pasted
C:\Inetpub\DOTNETDENEME\AlisverissaatiXMLHTTP\WindowsApplication1\obj\Debug\WindowsApplication1.exe
by running start-->run
and my exe worked. Why SQL server returned error ? any idea ?
I want to run it from Query analyser.
I tried
exec master.dbo.xp_cmdshell
'C:\Inetpub\DOTNETDENEME\AlisverissaatiXMLHTTP\WindowsApplication1\obj\Debug\WindowsApplication1.exe'
It returned
*The system cannot find the path specified.* as an error.
But im sure the path is correct.
I pasted
C:\Inetpub\DOTNETDENEME\AlisverissaatiXMLHTTP\WindowsApplication1\obj\Debug\WindowsApplication1.exe
by running start-->run
and my exe worked. Why SQL server returned error ? any idea ?