943,987 Members | Top Members by Rank

Jun 16th, 2006
0

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

Expand Post »
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 :-(
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mcrahr is offline Offline
1 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Servers Forum Timeline: SMTP Service and Configuration?
Next Thread in Windows Servers Forum Timeline: IIS port 80 ???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC