I've been using the following code to run an executable which creates a file in Windows 2000 and Windows 2003 but cannot get it to run on Windows 2008. I can run the executable directly and everything works as planned but when I run it with the following code in a web service, it produces an empty file. In Windows 2000 and 2003 I had to modify the the machine.config file processModel section to include a username and password of the Anonymous account per kb 315158 but this has not worked. I'm using Windows 2008 64X with SQL2008 64X ASP.NET Framework64 2.0.50727. Any ideas would be greatly appreciated.
Dim myProcess As System.Diagnostics.Process = New System.Diagnostics.Process
myProcess.StartInfo.FileName = "C:\SC2007\Bin\ConWiz.exe"
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
myProcess.Start()
myProc ...
Go to the complete details ...