Networking Forums

Networking Forums > Computer Networking > Windows Networking > VBScript program loses network access

Reply
Thread Tools Display Modes

VBScript program loses network access

 
 
phil.george999@gmail.com
Guest
Posts: n/a

 
      09-15-2005, 12:10 PM
Does anyone know what might be causing the following problem on Windows
Server 2003 SP2..?

I have a VB script program (Controller.vbs) that's spawned from a C#
Windows Service, using System.Process 'cscript Controller.vbs'.

The owner Domain User Id of the Windows Service has access to a network
share (mounted as G, to which output files are written.
(Authentication is with Active Directory).

The Controller.vbs script does this:

* Loop forever
- Run a .BAT script on the C: drive (which outputs log information
to the G: network drive)
- Check the G: log file the .BAT script wrote to, to verify no errors
occurred[*]
- Do some other processing and write output using
FileSystemObject.WriteLine to another file on the G: network drive[*]
- Close all open files
- Sleep for 5 mins
* End Loop

What I'm finding is that everything works fine until 7:30am each
morning. At this time, the .BAT script that's invoked from the
vbscript can *successfully* write to the G: drive. (If I check the
files myself I can see they're being created correctly).
However the .VBS script itself cannot write to or read from the G:
drive itself (so lines[*] are failing).

If I stop and restart everything, it again works fine until 7:30am the
next morning.

>From checking the Security log in the event viewer, nothing strange

appears to be happening.

Does anyone have any thoughts as to what may be causing the problem?
Our system administrators deny everything..

Thanks
Phil

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help, need a VBScript Clayton Sutton Windows Networking 15 10-18-2006 06:39 PM
MN-500 Program access Eskander Broadband Hardware 1 03-19-2005 12:53 AM
bt broadband loses webpage access... Chris Matchett Broadband 7 12-01-2004 10:43 AM
Vbscript WMI access GetObject Permission denied martin Windows Networking 1 09-06-2004 03:16 AM
Win98SE loses access to WinSvr2003 Frank Windows Networking 0 12-18-2003 09:44 PM



1 2 3 4 5 6 7 8 9 10 11