Web service reference problem in Window Service
-
I have a window service and i have a Web Service reference in it. The web service is on a local machine which is in my network. The app.config file of the window service is containing the key for the web service. When i make setup of the window service the its not dynamically changing the machine name even when i change the key in the config. During the run of the service it says cant find the machine "acb" which is name of the machine which is in my local network from where i was referring the web service. When i try to find out what is wrong i find that in the Project there is a Folder My Project Which is Containing a file Settings.settings Which is containing a key for that web servce. any Idea How That can be made dynamic Regards
Regards
-
I have a window service and i have a Web Service reference in it. The web service is on a local machine which is in my network. The app.config file of the window service is containing the key for the web service. When i make setup of the window service the its not dynamically changing the machine name even when i change the key in the config. During the run of the service it says cant find the machine "acb" which is name of the machine which is in my local network from where i was referring the web service. When i try to find out what is wrong i find that in the Project there is a Folder My Project Which is Containing a file Settings.settings Which is containing a key for that web servce. any Idea How That can be made dynamic Regards
Regards
I can't figure out what you're talking about. Are you saying that you have two versions of this web service?? One for test and another for production?? The windows service you wrote is supposed to use the production web service, but you developed against the test service?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007