Initiating an HTTP session from a windows service using CHttpConnection
Hi,
I am running a process that uses CHttpConnection to connect to the
internet. When used regularly it works fine. When the process is run as
a windows service it does not work: sendRequest() fails with timeout. I
am behind a proxy and a firewall. I am running the service under "local
system account". A different application on the same machine connects
fine to the internet using a "w3client" API (under local system
account). I use Connection.SetOption(
INTERNET_OPTION_PROXY,"proxyname:proxyport)
Any idea why the session would not connect specifically from a service?
Thank you.
.
Relevant Pages
- Local Servies screwed up
... My husband's computer got some kind of virus/spyware/malware that really ... Someone else was "helping" earlier and he changed something in ... It is connected to the Internet via a Linksys router. ... (Help says Local System is default for RPC service) ... (microsoft.public.windowsxp.perform_maintain) - Services messed up from malware and/or "help" from friend
... My husband's computer got some kind of virus/spyware/malware that really ... Someone else was "helping" earlier and he changed something in ... It is connected to the Internet via a Linksys router. ... (Help says Local System is default for RPC service) ... (microsoft.public.windowsxp.security_admin) - Re: Is this who SYSTEM is?
... How the system account is used in Windows: ... | I'm the "Administrator," so is that other person I'm ... | sharing the internet line with SYSTEM? ... |>I usually set permissions so that administrators & system ... (microsoft.public.security) - Re: Regularly update table
... You can write a windows service that will ping the internet for the ... > I have a currency Rate table which contains different currencies rates ... (microsoft.public.sqlserver.programming) - Http to windows service
... I want to have clients accross the internet send information to my ... Windows Service (all the way to the main business appdomain) as fast as ... (microsoft.public.dotnet.framework.webservices) |
|