jonesc3
asked on
ASP run .bat file on SBS 2003 server
I need an asp page writing that will run a .bat file that is located on the server.
this .bat file is used to fix a program (the program is quite old) when users get locked out of it (happens every couple of days)
the .bat file has been written and works propperly
and i would like it so a user can open a page in their web browser and the fix is applyed
the .bat file name for this can be called fix.bat (or whatever you like i'm sure i can adabt it)
and be located in any folder thats simplist to be run from (i.e c:\ or %windir%\system32 or wwwroot)
thanks
this .bat file is used to fix a program (the program is quite old) when users get locked out of it (happens every couple of days)
the .bat file has been written and works propperly
and i would like it so a user can open a page in their web browser and the fix is applyed
the .bat file name for this can be called fix.bat (or whatever you like i'm sure i can adabt it)
and be located in any folder thats simplist to be run from (i.e c:\ or %windir%\system32 or wwwroot)
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
fixed it
needed to change the identity on the application pool
needed to change the identity on the application pool
Great. Thanks
ASKER
ok i've tested it as a .htm , .asp and a .aspx file
.htm just shows done
.asp gets internal error 500
and aspx gets the following
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are no longer supported.
any ideas?