Click to See Complete Forum and Search --> : Execute batch file


sanouk
June 23rd, 2008, 05:10 AM
Hello,

I have a service in C# that execute batch file to generate key. All it's ok when I test it with develop evironment (Visual Studio 2005).
But, when I publish it, I can't execute the batch file. I think it was a problem of permission, I try to modify it with the console administration of IIS by add permission in the folder where there is the batch file but it change nothing.

Thanks for your help

Sanouk

Rohit Kukreti
June 25th, 2008, 01:02 PM
I dont know which user you gave permission to. But, if it is a ASP.Net Webservice then you might try by giving permissions to ASPNet user else give if it is a windows service then u have to give permission to the userid using which you are executing the service.

sanouk
June 26th, 2008, 02:49 AM
Tahnk you

Sanouk