From my previous question, Executing batch file in C# web service
I have checked the permission of all related stuff and found that:
batch file: permission = full control for all user
IIS user = myUser
..win32\cmd.exe: permission for system, admin, myUser = read&execute, read permission for "TrustedInstaller"(what is it?) = full control
Visual Studio is running under administrator mode.
I did some research on the Internet and it seems like I need to do something with 'Local Policies' on my machine. Unfortunately, I am using Windows Vista Home Premium, which seems like I cannot set local policies... I also try changing permission of cmd.exe to 'Full control', but it just doesn't allow me to do so.
It seems like I am facing an 'unsolvable' problem, so I will explain what I am doing so that someone may give me an idea what to do.
I have developed Blackberry application using blackberry simulator. It is on the same PC as my web service.
I developed web service in C#, published in my localhost.
Blackberry app upload a file to web service. Web service stores the file on my PC. (I have no problem with this part.)
There is one program on my PC, I will call it myprogram.exe. The program only runs on dos. The program will convert file from one file type to another file type using the command myprogram.exe path\oldfile.x path\newfile.y newfile.y will be created and stored on my PC automatically.
I need to convert the file that was sent from BB and is now storing on my local PC, so I wrote 1 batch file containing dos command. Web service should execute the batch file, but it wouldn't.
If i stop trying to work with batch file, is there any way i can to to execute those command? (or any way that I can run that external program) Please give me an idea. I have searched on the Internet and still doesn't get any idea. I don't know what to do now. T_T
PS. Forgive me if my questions are stupid. I just want to try every possible way to make this part of project success.