Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

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 Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 16th, 2002, 04:05 PM
Ksanger Ksanger is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 1 Ksanger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
NT 2000 Server - Services

I am running Windows 2000 Server and have a server program
that listens for requests from client programs. These requests
are typically to build or open a file or read or write to/from a file.
The client programs pass the ip of the server and the path/
filename of the file when attempting to open or build a file.

On the Windows machine D: drive contains the winnt system,
and C: is a partition. If the server program is running as a
DOS/console program I am able to open/build to either
D:\path\filename or C:\path\filename. However, if the server
program is run as a service any attempts to open or build
a file C:\path\filename returns error 2 - ENOENT - or
no such file or directory. Something about running as a service
makes C: drive non-existent or invisible and the program
behaves as though no such directory path exists?

Any ideas..suggestions? Is there a known restriction or ?
Is there something I can set/unset that would make C:
visible when the server program is running as a service.

Thanks in advance,
Kerry Sanger
Byte Designs Technical Support
(kerry@bytedesigns.com)

Reply With Quote
  #2  
Old December 16th, 2002, 06:36 PM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 21 h 49 m 55 sec
Reputation Power: 19
Have you checked permissions, by default the service would run with the privs of the local 'system' account, does that user have access to C?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > NT 2000 Server - Services


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 6 hosted by Hostway