Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
SREE LEKSHMI.M
Starting Member
3 Posts |
Posted - 2012-01-20 : 23:40:54
|
I was not able to run an exe.What i did is I created a storedprocedure as shownALTER Procedure [dbo].[pdfConverter]AsbeginEXEC master..xp_cmdshell'C:\WINDOWS\system32\notepad.exe'end Thn I executed the stored procedureExec pdfConverterBut the querry is executing for long time and no result and when i checked the taskmanager that exe is not running.Please help it's very urgent... |
|
biswajitdas
Starting Member
44 Posts |
Posted - 2012-01-22 : 18:23:44
|
1) can you check from the sp_configure is that xp_cmdshell is enabled or not to runSr Sql server DBA/Artitech |
 |
|
SREE LEKSHMI.M
Starting Member
3 Posts |
Posted - 2012-01-22 : 23:38:16
|
HOW CAN I CHECK THAT.Before running that exec i have configured the xp_cmdshell as shownEXEC sp_configure 'show advanced options', 1GORECONFIGUREGOEXEC sp_configure 'xp_cmdshell', 1GORECONFIGURE |
 |
|
Peter99
Constraint Violating Yak Guru
498 Posts |
Posted - 2012-01-23 : 10:46:07
|
You can check xp_cmdshell setting in Surface Area Configuration for Features (2005). In 2008 may be SQL Server Configuration Manager. |
 |
|
|
|
|