RUNNIG EXE FROM QUERY ANALYSER

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top