no network access when running a bat file from the asp script

Reply

Join Date: Jun 2006
Posts: 1
Reputation: mcrahr is an unknown quantity at this point 
Solved Threads: 0
mcrahr mcrahr is offline Offline
Newbie Poster

no network access when running a bat file from the asp script

 
0
  #1
Jun 16th, 2006
Hi
I have the following problem.
I'm building a web side, where user can upload a file, this file then need to be processed be a python scribt, to do this, I use wscribt.sheel run that run an external bat file. This works ok, BUT it look like if not able to acess the network from the python scribt. The Python scribt need some infomation placed on a server on the network, so it try to acess a network resource like this \\common\group\ and so on.
Now the strange thing is that when I use WScript.Network in the asp page the network access works fine, I cam map a drive an so on. So my security settings are ok.
It looks like a enviroment / security probelm when I run the bat file. I also tried to map s: to \\common\groups from the asp script just before calling the wshript.run on the bat file, and the in the bat file do a dir s:. This do not work. By the way I always pipe the command line stdout to a file, so it become possible to see whats going on.
Br.
Michael :-(
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows Servers and IIS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC