Executing a java program from an ASP page
Hi all :),
THis is my first posting in this forum and I am sure I can get some help here which I urgently require.
I am working on a ASP page which conducts a survey. I am saving the feedback as a Text file,which I then need to attach to a Trouble Ticket(created with a Ticketing tool). I have a java code that attaches the text file to this ticket.
Now, the Ticketing tool is placed in one server while my asp page is hosted in another server. I have placed the java code in the same server as the IIS. The problem is, when I run the java program by loggin on the server, it executes perfectly but when I call the same program from my asp page using the following code, it dosen't execute.
cmdString = "cmd /c D: & java MyJavaProg"
set filesys = Server.CreateObject("WScript.Shell")
temp = filesys.run(cmdString,0,True)
set filesys = nothing
If it can be of any help, when I execute the program directly in the server, the process gets created under my login but when it runs from the page, it gets created under a username, Network Service.
I have provided Full access right to that username for all the related files and folders but it didn't help :(.
Please help me.
Thanks in advance,