xp_cmdshell issue


hi, met question when use 'xp_cmdshell' invoke executable file. '.exe' file used insert record table in database. when exec xp_cmdshell '**.exe', process can forked, no record has been inserted table. have tested '**.exe' in command line, can work correctly. knows why? thanks!

just checking, have you've tried commandline on own machine, or on databaseserver?
because when use xp_cmdshell execution takes place on databaseserver you're connected on. 


m. streutker, info support | blog


SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

SQL server replication error Cannot find the dbo or user defined function........

BIT Version

Admin Permissions