G
Guest
Hello,
I have an odd problem with a windows service host - both as a console app
and a windows service (installed and uninstalled using installutil)
For some reason if I only use the baseAddress I'll get an
AddressAlreadyInUseException on the service.Open command.
If I specify a different address in the EndPoint or if I remove the
app.config endpoint/baseAddress and do it through code it works fine.
If I do a netstat there are no ports in a listening state until the Open
command is executed.
Is there a known issue with the baseAddress trying to assign a port twice on
the Open command?
This wasn't an issue until I uninstalled the windows service and ran the app
as a console app again (and for that matter a windows service). The service
was removed using installutil /u and I did restart my machine. Is there some
lingering settings somewhere that may not be uninstalled?
thanks,
I have an odd problem with a windows service host - both as a console app
and a windows service (installed and uninstalled using installutil)
For some reason if I only use the baseAddress I'll get an
AddressAlreadyInUseException on the service.Open command.
If I specify a different address in the EndPoint or if I remove the
app.config endpoint/baseAddress and do it through code it works fine.
If I do a netstat there are no ports in a listening state until the Open
command is executed.
Is there a known issue with the baseAddress trying to assign a port twice on
the Open command?
This wasn't an issue until I uninstalled the windows service and ran the app
as a console app again (and for that matter a windows service). The service
was removed using installutil /u and I did restart my machine. Is there some
lingering settings somewhere that may not be uninstalled?
thanks,