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.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 Execute Batch file from Asp .net

Author  Topic 

Yalini2212
Starting Member

12 Posts

Posted - 2011-01-12 : 05:44:01
I have a asp.net webpage deployed in IIS 6.0. I need to execute a bat file(i have command to run SSIS in this bat file) from asp .net application when i click a button. it works fine when i do in visual studio. It is not working when i run through IIS. It is not returning any error also

net205
Starting Member

3 Posts

Posted - 2011-01-13 : 08:53:04
Account has permissions to run iis,I only have a little bit of memory about it,can't get you more information.

Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-01-13 : 09:04:04
http://www.codeproject.com/KB/aspnet/Interactive_Command_Shell.aspx

http://www.google.com/#sclient=psy&hl=en&q=asp.net+execute+batch+file&aq=0&aqi=g2g-o1&aql=f&oq=asp.net+execute+bat&gs_rfai=&pbx=1&fp=7b989c6c17f79c85
Go to Top of Page
   

- Advertisement -