|
-
Apr 8th, 2004, 10:15 AM
#1
Thread Starter
Member
app.config question
I am developing and testing a VB.NET windows service using a app.config files. As you know, when compiled a .config.exe is created. I started up the service, shut it down then went into the config.exe file to change a setting. Restarted the service, but the change I was expecting did not occur. Am I doing this wrong?
Note that I am doing this all on the same machine.
Thanks
-
Apr 8th, 2004, 04:27 PM
#2
Hyperactive Member
I to have a .NET app running on a server as a service. Occasionally I have to change settings in the exe.config file as well. I do basically what you did. Stop the service, change the exe.config file, and then restart the service. For me this has always worked so I would venture a guess that the problem isn't with the config file.
Just in case, I might try unistalling the service, reinstalling the service to see if that shakes it loose. If your still not having luck then it might be a code problem not reading in the setting right.
-
Apr 13th, 2004, 07:18 AM
#3
Thread Starter
Member
Found out the problem
I had a bit of bad advice from a co-worker on how to set this up.
(He's usually dead-on so I will let it slide I found the correct way by doing a web search. I was trying to create the exe.config via coding when I should have been writing the app.config file and compiling to a exe.config. All is ok.
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
|