OS: Windows Server 2008License: EDN Developer SDE Version: 9.3SQL Server Version: 2008 SP 1I am interested in getting a test environment set up for our GIS database. I want to be able to test new SQL queries, jobs, code, etc. on the GIS data without having to kick everyone off of the system to do it (in production). I have been able to set things up in the Database identically to our production database. The problem is issuing sde commands from the xp_cmdshell utility in SQL Server. I can execute commands successfully from the production server, however when trying the same on the development server I get the following error:USE GIS
GO
DECLARE @SDECom varchar(50)
SET @SDECom = 'sdemon -o info -I users'
EXEC xp_cmdshell @SDECom
'sdemon' is not recognized as an internal or external command, operable program or batch file.
I've ruled out the SDEHOME environment variable path because I can execute commands successfully from the DOS command line. I have also ruled out permissions with xp_cmdshell itself because I can execute xp_cmdshell commands not related to sde wouthout any problem. It is the combination of sde commands using the xp_cmdshell utility in sql server. What could possibly be wrong?