Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 16th, 2006, 02:35 PM
mcrahr mcrahr is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 2 mcrahr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 28 sec
Reputation Power: 0
Cool No access to network after using shell.run command

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.

By the way, when user go to the web page, the log in will be administratos settings, to allow all access.

Br.
Michael :-(

Reply With Quote
  #2  
Old June 21st, 2006, 10:52 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Did you find a resolution? The problem sounds like a permission issue somewhere.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old June 22nd, 2006, 01:10 PM
mcrahr mcrahr is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 2 mcrahr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 28 sec
Reputation Power: 0
Yes.

Do not use run, but run the Python script direct in the web server.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > No access to network after using shell.run command


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT