954,301 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

;) 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 :-(

mcrahr
Newbie Poster
1 post since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You