|
-
Sep 16th, 2003, 09:29 AM
#1
Thread Starter
Frenzied Member
Troubles with service reading a file.
I have a service that needs user-defined start up arguments. Reading that the registry isn't recommended any longer, I have a xml doc that holds the values.
My problem is, when the machine starts up (my service auto-starts), the values are not read from the properties file correctly. More precisely, values have their defaults (integers are 0, strings are ""). If I stop, then restart the service, the values are read in just fine.
Any idea what's going on, or a better way to accomplish?
TIA,
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|